@@ -57,15 +57,15 @@ public class RadioPlayerService extends Service implements AudioManager.OnAudioF
57
57
public final static String ACTION_SEARCH_BACKWARDS =
58
58
"com.freshollie.monkeyboard.keystoneradio.playback.radioplayerservice.action.SEARCH_BACKWARDS" ;
59
59
public final static String ACTION_NEXT =
60
- "com.freshollie.. monkeyboard.keystoneradio.playback.radioplayerservice.action.NEXT" ;
60
+ "com.freshollie.monkeyboard.keystoneradio.playback.radioplayerservice.action.NEXT" ;
61
61
public final static String ACTION_PREVIOUS =
62
- "com.freshollie.. monkeyboard.keystoneradio.playback.radioplayerservice.action.PREVIOUS" ;
62
+ "com.freshollie.monkeyboard.keystoneradio.playback.radioplayerservice.action.PREVIOUS" ;
63
63
public final static String ACTION_STOP =
64
- "com.freshollie.. monkeyboard.keystoneradio.playback.radioplayerservice.action.STOP" ;
64
+ "com.freshollie.monkeyboard.keystoneradio.playback.radioplayerservice.action.STOP" ;
65
65
public final static String ACTION_PLAY =
66
- "com.freshollie.. monkeyboard.keystoneradio.playback.radioplayerservice.action.PLAY" ;
66
+ "com.freshollie.monkeyboard.keystoneradio.playback.radioplayerservice.action.PLAY" ;
67
67
public final static String ACTION_PAUSE =
68
- "com.freshollie.. monkeyboard.keystoneradio.playback.radioplayerservice.action.PAUSE" ;
68
+ "com.freshollie.monkeyboard.keystoneradio.playback.radioplayerservice.action.PAUSE" ;
69
69
70
70
public final static String ACTION_SET_RADIO_MODE = "" ;
71
71
@@ -509,12 +509,12 @@ private void saveFmStationList() {
509
509
}
510
510
511
511
public boolean saveCurrentFmStation () {
512
- RadioStation radioStationCopy = new RadioStation ();
513
- radioStationCopy .setName (currentFmRadioStation .getName ());
514
- radioStationCopy .setGenreId (currentFmRadioStation .getGenreId ());
515
- radioStationCopy .setFrequency (currentFmRadioStation .getFrequency ());
516
-
517
512
if (currentFmRadioStation != null ) {
513
+ RadioStation radioStationCopy = new RadioStation ();
514
+ radioStationCopy .setName (currentFmRadioStation .getName ());
515
+ radioStationCopy .setGenreId (currentFmRadioStation .getGenreId ());
516
+ radioStationCopy .setFrequency (currentFmRadioStation .getFrequency ());
517
+
518
518
for (RadioStation station : fmRadioStations ) {
519
519
if (((station .getFrequency ()) / 100 ) * 100
520
520
== ((radioStationCopy .getFrequency ()) / 100 ) * 100 ) {
0 commit comments