Prevent crash

pull/194/merge
M66B 3 years ago
parent 194d954c52
commit 3d143e0ef7

@ -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)

Loading…
Cancel
Save