mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-06-08 23:57:45 +00:00
Always launch AuthActivity on lock if MainActivity is resumed
This commit is contained in:
parent
ff584a323d
commit
66f99eb4d4
2 changed files with 25 additions and 1 deletions
|
@ -489,7 +489,6 @@ public class MainActivity extends AegisActivity implements EntryListView.Listene
|
|||
return true;
|
||||
case R.id.action_lock:
|
||||
_app.lock();
|
||||
startAuthActivity();
|
||||
return true;
|
||||
default:
|
||||
if (item.getGroupId() == R.id.action_filter_group) {
|
||||
|
@ -615,6 +614,11 @@ public class MainActivity extends AegisActivity implements EntryListView.Listene
|
|||
public void onLocked() {
|
||||
_entryListView.clearEntries();
|
||||
_loaded = false;
|
||||
|
||||
if (isOpen()) {
|
||||
startAuthActivity();
|
||||
}
|
||||
|
||||
super.onLocked();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue