Prevent crash

This commit is contained in:
M66B 2021-12-30 07:23:50 +01:00
parent 194d954c52
commit 3d143e0ef7
1 changed files with 1 additions and 0 deletions

View File

@ -384,6 +384,7 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
Helper.shouldAuthenticate(this, false)) { Helper.shouldAuthenticate(this, false)) {
Intent intent = getIntent(); Intent intent = getIntent();
finishAndRemoveTask(); finishAndRemoveTask();
setResult(RESULT_CANCELED);
finishAffinity(); finishAffinity();
processStreams(intent); processStreams(intent);
Intent main = new Intent(this, ActivityMain.class) Intent main = new Intent(this, ActivityMain.class)