CMSettings : Add default overlay for people lookup

Change-Id: I64db011fbe66045b52536f2c4b9d92e42603bd30
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 @@
 
         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) {