Add Privacy and Security Settings

This commit is contained in:
0w0@0w0.pw authored and seven332 committed 2018-02-11 13:20:18 +08:00
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
********************/