mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-04 20:30:36 +00:00
Fix crash when trying to auto lock a locked vault
This commit is contained in:
parent
ebb9d0be3f
commit
feea9a2e67
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ public class AegisApplication extends Application {
|
|||
}
|
||||
|
||||
public boolean isAutoLockEnabled() {
|
||||
return _prefs.isAutoLockEnabled() && _manager.isEncryptionEnabled() && !_manager.isLocked();
|
||||
return _prefs.isAutoLockEnabled() && _manager.isLoaded() && _manager.isEncryptionEnabled() && !_manager.isLocked();
|
||||
}
|
||||
|
||||
private class ScreenOffReceiver extends BroadcastReceiver {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue