mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Fix close conditions.
This commit is contained in:
@@ -94,13 +94,8 @@ public abstract class GroupBaseActivity extends LockCloseListActivity {
|
|||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
|
|
||||||
// Parent could finish
|
|
||||||
if ( isFinishing() ) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Likely the app has been killed exit the activity
|
// Likely the app has been killed exit the activity
|
||||||
if ( App.getDB().Loaded() ) {
|
if ( ! App.getDB().Loaded() ) {
|
||||||
finish();
|
finish();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user