Add Privacy and Security Settings
This commit is contained in:
1 parent
7a02103e05
commit
b3a23ad4e8
19 files changed
+170
-12
No files matched your search
@@ -575,6 +575,19 @@ public class Settings {
|
||||
putInt(KEY_SCREEN_LIGHTNESS, value);
|
||||
}
|
||||
|
||||
/********************
|
||||
****** Privacy and Security
|
||||
********************/
|
||||
public static final String KEY_SEC_SECURITY = "enabled_secure";
|
||||
public static final boolean VALUE_SEC_SECURITY = false;
|
||||
|
||||
public static boolean getEnabledSecurity() {
|
||||
return getBoolean(KEY_SEC_SECURITY, VALUE_SEC_SECURITY);
|
||||
}
|
||||
public static void putEnabledSecurity(boolean value) {
|
||||
putBoolean(KEY_READING_FULLSCREEN, value);
|
||||
}
|
||||
|
||||
/********************
|
||||
****** Download
|
||||
********************/
|
||||
|
||||
Reference in new issue
Block a user