diff options
author | Danesh M <daneshm90@gmail.com> | 2015-12-22 11:18:43 -0800 |
---|---|---|
committer | Danesh M <daneshm90@gmail.com> | 2015-12-22 11:19:24 -0800 |
commit | 6ff47d4e1ba524d85c34adfcc74b56bde5447085 (patch) | |
tree | c04e240143b8b4390b5dde7ec39fd362725127cf /packages | |
parent | 7bdcaa59f4a8d262db6d888e8878db9d48487c3a (diff) | |
download | vendor_cmsdk-6ff47d4e1ba524d85c34adfcc74b56bde5447085.zip vendor_cmsdk-6ff47d4e1ba524d85c34adfcc74b56bde5447085.tar.gz vendor_cmsdk-6ff47d4e1ba524d85c34adfcc74b56bde5447085.tar.bz2 |
CMSettings : Add default overlay for people lookup
Change-Id: I64db011fbe66045b52536f2c4b9d92e42603bd30
Diffstat (limited to 'packages')
-rw-r--r-- | packages/CMSettingsProvider/res/values/defaults.xml | 5 | ||||
-rw-r--r-- | packages/CMSettingsProvider/src/org/cyanogenmod/cmsettings/CMDatabaseHelper.java | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/packages/CMSettingsProvider/res/values/defaults.xml b/packages/CMSettingsProvider/res/values/defaults.xml index 98a9c12..dda3660 100644 --- a/packages/CMSettingsProvider/res/values/defaults.xml +++ b/packages/CMSettingsProvider/res/values/defaults.xml @@ -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>
\ No newline at end of file + + <!-- Default value of Settings.System.ENABLE_PEOPLE_LOOKUP --> + <integer name="def_people_lookup">1</integer> +</resources> diff --git a/packages/CMSettingsProvider/src/org/cyanogenmod/cmsettings/CMDatabaseHelper.java b/packages/CMSettingsProvider/src/org/cyanogenmod/cmsettings/CMDatabaseHelper.java index 17335e6..506ada6 100644 --- a/packages/CMSettingsProvider/src/org/cyanogenmod/cmsettings/CMDatabaseHelper.java +++ b/packages/CMSettingsProvider/src/org/cyanogenmod/cmsettings/CMDatabaseHelper.java @@ -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) { |