cmsdk: add LOCKSCREEN_VISUALIZER_ENABLED
Change-Id: Ia8b11083a54195acfebab76c646987962b798c16 Signed-off-by: Roman Birg <roman@cyngn.com>
This commit is contained in:
parent
ba670bf88f
commit
a61af19bdc
@ -47,6 +47,9 @@
|
||||
<!-- Default for CMSettings.Secure.QS_USE_MAIN_TILES -->
|
||||
<bool name="def_sysui_qs_main_tiles">true</bool>
|
||||
|
||||
<!-- Default for CMSettings.Secure.LOCKSCREEN_VISUALIZER_ENABLED -->
|
||||
<bool name="def_lockscreen_visualizer">true</bool>
|
||||
|
||||
<!-- Defaults for Global -->
|
||||
|
||||
<!-- Default for CMSettings.Global.DEVICE_NAME
|
||||
|
@ -236,6 +236,9 @@ public class CMDatabaseHelper extends SQLiteOpenHelper{
|
||||
|
||||
loadBooleanSetting(db, CMTableNames.TABLE_SECURE, CMSettings.Secure.STATS_COLLECTION,
|
||||
R.bool.def_stats_collection);
|
||||
|
||||
loadBooleanSetting(db, CMTableNames.TABLE_SECURE,
|
||||
CMSettings.Secure.LOCKSCREEN_VISUALIZER_ENABLED, R.bool.def_lockscreen_visualizer);
|
||||
}
|
||||
|
||||
private void loadSystemSettings(SQLiteDatabase db) {
|
||||
|
@ -2618,6 +2618,12 @@ public final class CMSettings {
|
||||
*/
|
||||
public static final String QS_LOCATION_ADVANCED = "qs_location_advanced";
|
||||
|
||||
/**
|
||||
* Whether to show the keyguard visualizer.
|
||||
* Boolean setting. 0 = off, 1 = on.
|
||||
* @hide
|
||||
*/
|
||||
public static final String LOCKSCREEN_VISUALIZER_ENABLED = "lockscreen_visualizer";
|
||||
// endregion
|
||||
|
||||
/**
|
||||
@ -2656,7 +2662,9 @@ public final class CMSettings {
|
||||
CMSettings.Secure.DEVELOPMENT_SHORTCUT,
|
||||
CMSettings.Secure.PERFORMANCE_PROFILE,
|
||||
CMSettings.Secure.APP_PERFORMANCE_PROFILES_ENABLED,
|
||||
CMSettings.Secure.QS_LOCATION_ADVANCED};
|
||||
CMSettings.Secure.QS_LOCATION_ADVANCED,
|
||||
CMSettings.Secure.LOCKSCREEN_VISUALIZER_ENABLED,
|
||||
};
|
||||
|
||||
/**
|
||||
* @hide
|
||||
|
Loading…
Reference in New Issue
Block a user