mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-26 10:55:09 +01:00
Keep active setup in recent apps screen
This commit is contained in:
@@ -188,7 +188,6 @@
|
||||
|
||||
<activity
|
||||
android:name=".ActivitySetup"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="false"
|
||||
android:launchMode="singleTask"
|
||||
android:parentActivityName=".ActivityMain"
|
||||
@@ -196,7 +195,6 @@
|
||||
|
||||
<activity
|
||||
android:name=".ActivitySignature"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="false"
|
||||
android:launchMode="singleTask"
|
||||
android:parentActivityName=".ActivitySetup"
|
||||
|
||||
@@ -192,7 +192,6 @@
|
||||
|
||||
<activity
|
||||
android:name=".ActivitySetup"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="false"
|
||||
android:launchMode="singleTask"
|
||||
android:parentActivityName=".ActivityMain"
|
||||
@@ -200,7 +199,6 @@
|
||||
|
||||
<activity
|
||||
android:name=".ActivitySignature"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="false"
|
||||
android:launchMode="singleTask"
|
||||
android:parentActivityName=".ActivitySetup"
|
||||
|
||||
@@ -192,7 +192,6 @@
|
||||
|
||||
<activity
|
||||
android:name=".ActivitySetup"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="false"
|
||||
android:launchMode="singleTask"
|
||||
android:parentActivityName=".ActivityMain"
|
||||
@@ -200,7 +199,6 @@
|
||||
|
||||
<activity
|
||||
android:name=".ActivitySignature"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="false"
|
||||
android:launchMode="singleTask"
|
||||
android:parentActivityName=".ActivitySetup"
|
||||
|
||||
@@ -187,7 +187,6 @@
|
||||
|
||||
<activity
|
||||
android:name=".ActivitySetup"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="false"
|
||||
android:launchMode="singleTask"
|
||||
android:parentActivityName=".ActivityMain"
|
||||
@@ -195,7 +194,6 @@
|
||||
|
||||
<activity
|
||||
android:name=".ActivitySignature"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="false"
|
||||
android:launchMode="singleTask"
|
||||
android:parentActivityName=".ActivitySetup"
|
||||
|
||||
@@ -470,9 +470,11 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
||||
public void onBackStackChanged() {
|
||||
int count = getSupportFragmentManager().getBackStackEntryCount();
|
||||
if (count == 0) {
|
||||
if (hasAccount)
|
||||
if (hasAccount) {
|
||||
startActivity(new Intent(this, ActivityView.class));
|
||||
finish();
|
||||
finishAndRemoveTask();
|
||||
} else
|
||||
finish();
|
||||
} else {
|
||||
if (drawerLayout.isDrawerOpen(drawerContainer))
|
||||
drawerLayout.closeDrawer(drawerContainer);
|
||||
|
||||
@@ -188,7 +188,6 @@
|
||||
|
||||
<activity
|
||||
android:name=".ActivitySetup"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="false"
|
||||
android:launchMode="singleTask"
|
||||
android:parentActivityName=".ActivityMain"
|
||||
@@ -196,7 +195,6 @@
|
||||
|
||||
<activity
|
||||
android:name=".ActivitySignature"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="false"
|
||||
android:launchMode="singleTask"
|
||||
android:parentActivityName=".ActivitySetup"
|
||||
|
||||
Reference in New Issue
Block a user