1
0
Fork 0
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:
M66B 2022-09-24 19:43:39 +02:00
parent 54206988f1
commit 3bc22dc90b
6 changed files with 4 additions and 12 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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