Removed delibertate fallthrough

This commit is contained in:
ByteHamster 2018-06-08 00:28:32 +02:00
parent c2ace74156
commit 9fb695822a

View File

@ -677,6 +677,11 @@ public class PlaybackService extends MediaBrowserServiceCompat {
writePlayerStatusPlaybackPreferences();
break;
case STOPPED:
writePlaybackPreferencesNoMediaPlaying();
stopSelf();
break;
case PLAYING:
writePlayerStatusPlaybackPreferences();
setupNotification(newInfo);
@ -689,7 +694,7 @@ public class PlaybackService extends MediaBrowserServiceCompat {
}
break;
case ERROR: case STOPPED:
case ERROR:
writePlaybackPreferencesNoMediaPlaying();
stopSelf();
break;