forked from upstream-mirrors/OpenTracks
Fix comment on f255f3a519fe
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user