mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-04 20:30:36 +00:00
Disable screen security by default for debug builds
I've lost count of how many times I've tried to record a demo video with screen security enabled.
This commit is contained in:
parent
eb29be587f
commit
0123b98e47
3 changed files with 7 additions and 4 deletions
|
@ -16,7 +16,8 @@ public class Preferences {
|
|||
}
|
||||
|
||||
public boolean isSecureScreenEnabled() {
|
||||
return _prefs.getBoolean("pref_secure_screen", true);
|
||||
// screen security should be enabled by default, but not for debug builds
|
||||
return _prefs.getBoolean("pref_secure_screen", !BuildConfig.DEBUG);
|
||||
}
|
||||
|
||||
public boolean isAccountNameVisible() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue