Revert "Fix back stack"

This reverts commit 797dc706e2.
This commit is contained in:
J-Jamet
2020-05-23 15:57:39 +02:00
parent c6c4551928
commit df9b6cb7e8
3 changed files with 3 additions and 7 deletions

View File

@@ -209,7 +209,7 @@ class FileDatabaseSelectActivity : StylishActivity(),
}
// Remove the search info from intent
if (searchInfo != null) {
intent.removeExtra(KEY_SEARCH_INFO)
finish()
}
},
{

View File

@@ -986,11 +986,7 @@ class GroupActivity : LockingActivity(),
} else {
// To restore standard mode
EntrySelectionHelper.removeEntrySelectionModeFromIntent(intent)
// Go to home
startActivity(Intent(Intent.ACTION_MAIN).apply {
addCategory(Intent.CATEGORY_HOME)
addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
})
moveTaskToBack(true)
}
}

View File

@@ -269,7 +269,7 @@ open class PasswordActivity : StylishActivity() {
readOnly)
// Remove the search info from intent
if (searchInfo != null) {
intent.removeExtra(KEY_SEARCH_INFO)
finish()
}
},
{