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,16 +310,14 @@ public class PlaybackService extends Service {
|
||||||
mediaPlayer.pause(true, true);
|
mediaPlayer.pause(true, true);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case KeyEvent.KEYCODE_MEDIA_FAST_FORWARD: {
|
case KeyEvent.KEYCODE_MEDIA_FAST_FORWARD:
|
||||||
mediaPlayer.seekDelta(PlaybackController.DEFAULT_SEEK_DELTA);
|
mediaPlayer.seekDelta(PlaybackController.DEFAULT_SEEK_DELTA);
|
||||||
break;
|
break;
|
||||||
}
|
case KeyEvent.KEYCODE_MEDIA_REWIND:
|
||||||
case KeyEvent.KEYCODE_MEDIA_REWIND: {
|
|
||||||
mediaPlayer.seekDelta(-PlaybackController.DEFAULT_SEEK_DELTA);
|
mediaPlayer.seekDelta(-PlaybackController.DEFAULT_SEEK_DELTA);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called by a mediaplayer Activity as soon as it has prepared its
|
* Called by a mediaplayer Activity as soon as it has prepared its
|
||||||
|
|
Loading…
Reference in New Issue