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();
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;