Removed delibertate fallthrough

This commit is contained in:
ByteHamster 2018-06-08 00:28:32 +02:00
parent c2ace74156
commit 9fb695822a
1 changed files with 6 additions and 1 deletions

View File

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