mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Clear global data on exit.
This commit is contained in:
@@ -91,6 +91,12 @@ public class Database {
|
||||
}
|
||||
}
|
||||
|
||||
public static void clear() {
|
||||
gGroups.clear();
|
||||
gEntries.clear();
|
||||
gRoot = null;
|
||||
mPM = null;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -60,7 +60,9 @@ public class KeePass extends Activity {
|
||||
protected void onResume() {
|
||||
super.onResume();
|
||||
|
||||
// Clear password on Database state
|
||||
setEditText(R.id.pass_password, "");
|
||||
Database.clear();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user