Remove unnecessary braces in PlaybackService case block
The other blocks in this switch don't have braces, and they would look a little silly when I add an extra case label.
This commit is contained in:
parent
c3e0ac9e74
commit
817769672a
|
@ -310,14 +310,12 @@ public class PlaybackService extends Service {
|
|||
mediaPlayer.pause(true, true);
|
||||
}
|
||||
break;
|
||||
case KeyEvent.KEYCODE_MEDIA_FAST_FORWARD: {
|
||||
case KeyEvent.KEYCODE_MEDIA_FAST_FORWARD:
|
||||
mediaPlayer.seekDelta(PlaybackController.DEFAULT_SEEK_DELTA);
|
||||
break;
|
||||
}
|
||||
case KeyEvent.KEYCODE_MEDIA_REWIND: {
|
||||
case KeyEvent.KEYCODE_MEDIA_REWIND:
|
||||
mediaPlayer.seekDelta(-PlaybackController.DEFAULT_SEEK_DELTA);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue