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"); Log.i(TAG, "Resetting all settings");
// Actually wipe preferences (and save synchronously). // Actually wipe preferences (and save synchronously).
Editor editor = preferences.edit(); preferences.edit().clear().commit();
editor.clear();
editor.commit();
// Give UI feedback in the UI thread. // Give UI feedback in the UI thread.
runOnUiThread(new Runnable() { runOnUiThread(new Runnable() {