mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-04 20:30:36 +00:00
Merge pull request #441 from alexbakker/fix-lock-crash
Fix crash that would occur when locking the screen with a locked vault
This commit is contained in:
commit
ef1ac3e5e9
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