mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-03 18:03:06 +02:00
@@ -354,7 +354,10 @@ public class PreferencesUtils {
|
||||
@Deprecated
|
||||
//TODO Method is very misleading: it only checks if the provided trackId not the default value (i.e., not recording).
|
||||
public static boolean isRecording(Track.Id recordingTrackId) {
|
||||
return recordingTrackId == null || recordingTrackId.getId() != RECORDING_TRACK_ID_DEFAULT;
|
||||
if (recordingTrackId == null) {
|
||||
return false;
|
||||
}
|
||||
return recordingTrackId.getId() != RECORDING_TRACK_ID_DEFAULT;
|
||||
}
|
||||
|
||||
public static void resetPreferences(Context context, boolean readAgain) {
|
||||
|
||||
Reference in New Issue
Block a user