From 59759903a9696daefa817079c8432468ed398033 Mon Sep 17 00:00:00 2001 From: RoboErik Date: Mon, 20 Oct 2014 14:56:32 -0700 Subject: Add missing break to switch statement the skip to queue item case was falling through when it shouldn't. bug: 18058515 Change-Id: Ica20b59efad12a58ad16501146fc9a0d4595e184 --- media/java/android/media/session/MediaSession.java | 1 + 1 file changed, 1 insertion(+) (limited to 'media') diff --git a/media/java/android/media/session/MediaSession.java b/media/java/android/media/session/MediaSession.java index ad018ad..86da80a 100644 --- a/media/java/android/media/session/MediaSession.java +++ b/media/java/android/media/session/MediaSession.java @@ -1157,6 +1157,7 @@ public final class MediaSession { break; case MSG_SKIP_TO_ITEM: mCallback.onSkipToQueueItem((Long) msg.obj); + break; case MSG_PAUSE: mCallback.onPause(); break; -- cgit v1.1