am 1eeea0c9: Use new SharedPreferences.apply() instead of commit().
Merge commit '1eeea0c996026fc156ea067c103a6ac6b3250569' into gingerbread-plus-aosp
* commit '1eeea0c996026fc156ea067c103a6ac6b3250569':
Use new SharedPreferences$Editor.apply() instead of commit().
diff --git a/src/com/android/contacts/ui/ContactsPreferencesActivity.java b/src/com/android/contacts/ui/ContactsPreferencesActivity.java
index 5a89745..96218e6 100644
--- a/src/com/android/contacts/ui/ContactsPreferencesActivity.java
+++ b/src/com/android/contacts/ui/ContactsPreferencesActivity.java
@@ -845,7 +845,7 @@
Editor editor = mPrefs.edit();
editor.putBoolean(Prefs.DISPLAY_ONLY_PHONES, displayOnlyPhones);
- editor.commit();
+ editor.apply();
mAdapter.setChildDescripWithPhones(displayOnlyPhones);
mAdapter.notifyDataSetChanged();