CMSettings : Add default overlay for people lookup
Change-Id: I64db011fbe66045b52536f2c4b9d92e42603bd30
This commit is contained in:
parent
7bdcaa59f4
commit
6ff47d4e1b
|
@ -79,4 +79,7 @@
|
||||||
<!-- Default value for whether or not to use multiple notification LEDs
|
<!-- Default value for whether or not to use multiple notification LEDs
|
||||||
on devices equiped with more than one LED -->
|
on devices equiped with more than one LED -->
|
||||||
<bool name="def_notification_multiple_leds">false</bool>
|
<bool name="def_notification_multiple_leds">false</bool>
|
||||||
</resources>
|
|
||||||
|
<!-- Default value of Settings.System.ENABLE_PEOPLE_LOOKUP -->
|
||||||
|
<integer name="def_people_lookup">1</integer>
|
||||||
|
</resources>
|
||||||
|
|
|
@ -254,6 +254,9 @@ public class CMDatabaseHelper extends SQLiteOpenHelper{
|
||||||
|
|
||||||
loadBooleanSetting(db, CMTableNames.TABLE_SYSTEM, CMSettings.System.SYSTEM_PROFILES_ENABLED,
|
loadBooleanSetting(db, CMTableNames.TABLE_SYSTEM, CMSettings.System.SYSTEM_PROFILES_ENABLED,
|
||||||
R.bool.def_profiles_enabled);
|
R.bool.def_profiles_enabled);
|
||||||
|
|
||||||
|
loadIntegerSetting(db, CMTableNames.TABLE_SYSTEM, CMSettings.System.ENABLE_PEOPLE_LOOKUP,
|
||||||
|
R.integer.def_people_lookup);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void loadGlobalSettings(SQLiteDatabase db) {
|
private void loadGlobalSettings(SQLiteDatabase db) {
|
||||||
|
|
Loading…
Reference in New Issue