update icon on encoding done

This commit is contained in:
Alexey Kuznetsov 2020-11-04 13:00:32 +03:00
commit 996e570199

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);
}
}