CMSettings : Add default overlay for people lookup

Change-Id: I64db011fbe66045b52536f2c4b9d92e42603bd30
This commit is contained in:
Danesh M 2015-12-22 11:18:43 -08:00
parent 7bdcaa59f4
commit 6ff47d4e1b
2 changed files with 7 additions and 1 deletions

View File

@ -79,4 +79,7 @@
<!-- Default value for whether or not to use multiple notification LEDs
on devices equiped with more than one LED -->
<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>

View File

@ -254,6 +254,9 @@ public class CMDatabaseHelper extends SQLiteOpenHelper{
loadBooleanSetting(db, CMTableNames.TABLE_SYSTEM, CMSettings.System.SYSTEM_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) {