mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-04 18:43:07 +02:00
Fix a typo in shared preferences and minor cleanup.
This commit is contained in:
@@ -313,6 +313,9 @@ public class MyTracks extends TabActivity implements OnTouchListener,
|
||||
SharedPreferences prefs =
|
||||
getSharedPreferences(MyTracksSettings.SETTINGS_NAME, 0);
|
||||
if (prefs != null) {
|
||||
// Dump all preferences.
|
||||
Log.i(MyTracksConstants.TAG, "Shared preferences:" + prefs.getAll());
|
||||
|
||||
selectedTrackId =
|
||||
prefs.getLong(getString(R.string.selected_track_key), -1);
|
||||
recordingTrackId =
|
||||
|
||||
Reference in New Issue
Block a user