add default value for QS_USE_MAIN_TILES

Change-Id: I22f1430841b7eec3a01431bfd12ed1591361f46d
Signed-off-by: Roman Birg <roman@cyngn.com>
This commit is contained in:
Roman Birg 2015-12-07 13:26:10 -08:00
parent 144146eb17
commit 204ffe00a3
2 changed files with 6 additions and 0 deletions

View File

@ -44,6 +44,9 @@
<!-- Default for CMSettings.Secure.STATS_COLLECTION -->
<bool name="def_stats_collection">false</bool>
<!-- Default for CMSettings.Secure.QS_USE_MAIN_TILES -->
<bool name="def_sysui_qs_main_tiles">true</bool>
<!-- Defaults for Global -->
<!-- Default for CMSettings.Global.DEVICE_NAME

View File

@ -226,6 +226,9 @@ public class CMDatabaseHelper extends SQLiteOpenHelper{
loadStringSetting(db, CMTableNames.TABLE_SECURE, CMSettings.Secure.QS_TILES,
R.string.def_qs_tiles);
loadBooleanSetting(db, CMTableNames.TABLE_SECURE, CMSettings.Secure.QS_USE_MAIN_TILES,
R.bool.def_def_sysui_qs_main_tiles);
loadBooleanSetting(db, CMTableNames.TABLE_SECURE, CMSettings.Secure.STATS_COLLECTION,
R.bool.def_stats_collection);