mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-24 08:44:26 +00:00
Keep active setup in recent apps screen
This commit is contained in:
parent
54206988f1
commit
3bc22dc90b
6 changed files with 4 additions and 12 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue