Fix comment on f255f3a519fe

This commit is contained in:
Jimmy Shih
2011-11-21 17:26:47 -08:00
parent a59cc3a6a2
commit a9400afd74
@@ -619,9 +619,7 @@ public class SettingsActivity extends PreferenceActivity {
Log.i(TAG, "Resetting all settings");
// Actually wipe preferences (and save synchronously).
Editor editor = preferences.edit();
editor.clear();
editor.commit();
preferences.edit().clear().commit();
// Give UI feedback in the UI thread.
runOnUiThread(new Runnable() {