mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-04 20:30:36 +00:00
Fix crash that would occur when locking the screen with a locked vault
This commit is contained in:
parent
66dd3561cf
commit
fbd6a5931e
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ public class AegisApplication extends Application {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isAutoLockEnabled() {
|
public boolean isAutoLockEnabled() {
|
||||||
return _prefs.isAutoLockEnabled() && _manager.isEncryptionEnabled() && !isVaultLocked();
|
return _prefs.isAutoLockEnabled() && !isVaultLocked() && _manager.isEncryptionEnabled() ;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void registerLockListener(LockListener listener) {
|
public void registerLockListener(LockListener listener) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue