Merge branch 'audiorecorder-3.3.19'

This commit is contained in:
Alexey Kuznetsov 2020-11-04 13:00:42 +03:00
commit 29a8dbd309
2 changed files with 5 additions and 2 deletions

View file

@ -9,8 +9,8 @@ android {
applicationId "com.github.axet.audiorecorder"
minSdkVersion 9
targetSdkVersion 28
versionCode 343
versionName "3.3.18"
versionCode 344
versionName "3.3.19"
}
signingConfigs {
release {

View file

@ -274,6 +274,7 @@ public class MainActivity extends AppCompatThemeActivity {
snackbar.setDuration(Snackbar.LENGTH_SHORT);
snackbar.show();
}
RecordingService.startIfPending(context);
}
if (msg.what == EncodingStorage.EXIT) {
if (progress != null) {
@ -281,6 +282,7 @@ public class MainActivity extends AppCompatThemeActivity {
progress = null;
}
hide();
RecordingService.startIfPending(context);
}
if (msg.what == EncodingStorage.ERROR) {
Intent intent = (Intent) msg.obj;
@ -297,6 +299,7 @@ public class MainActivity extends AppCompatThemeActivity {
}
Throwable e = (Throwable) intent.getSerializableExtra("e");
Error(in, info, e);
RecordingService.startIfPending(context);
}
}