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:
David Reiss 2014-06-07 16:26:38 -07:00
parent c3e0ac9e74
commit 817769672a
1 changed files with 2 additions and 4 deletions

View File

@ -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;
}
}
}