Use new SharedPreferences$Editor.apply() instead of commit().

apply() starts an async disk write and doesn't have a return
value but is otherwise identical in observable effects.

Change-Id: I247beefae4c1becc6f121247d8f0e51e01f71f97
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();