mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Fix back stack
This commit is contained in:
@@ -209,7 +209,7 @@ class FileDatabaseSelectActivity : StylishActivity(),
|
|||||||
}
|
}
|
||||||
// Remove the search info from intent
|
// Remove the search info from intent
|
||||||
if (searchInfo != null) {
|
if (searchInfo != null) {
|
||||||
finish()
|
intent.removeExtra(KEY_SEARCH_INFO)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -986,7 +986,11 @@ class GroupActivity : LockingActivity(),
|
|||||||
} else {
|
} else {
|
||||||
// To restore standard mode
|
// To restore standard mode
|
||||||
EntrySelectionHelper.removeEntrySelectionModeFromIntent(intent)
|
EntrySelectionHelper.removeEntrySelectionModeFromIntent(intent)
|
||||||
moveTaskToBack(true)
|
// Go to home
|
||||||
|
startActivity(Intent(Intent.ACTION_MAIN).apply {
|
||||||
|
addCategory(Intent.CATEGORY_HOME)
|
||||||
|
addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -269,7 +269,7 @@ open class PasswordActivity : StylishActivity() {
|
|||||||
readOnly)
|
readOnly)
|
||||||
// Remove the search info from intent
|
// Remove the search info from intent
|
||||||
if (searchInfo != null) {
|
if (searchInfo != null) {
|
||||||
finish()
|
intent.removeExtra(KEY_SEARCH_INFO)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user