Skip to content
Snippets Groups Projects
Commit 6f6b393a authored by Erfan Abdi's avatar Erfan Abdi :volcano: Committed by Mohammad Hasan Keramat J
Browse files

VolumeKeyHandler: Adapt for 12

Change-Id: I56306e3a2bc9633c29a01196452c8e158d0d7fa7
parent b096e059
No related branches found
No related tags found
No related merge requests found
......@@ -143,7 +143,7 @@ public final class VolumeKeyHandler {
public void onSkipTrackEvent(KeyEvent ev) {
if (mMediaSessionManager != null) {
final List<MediaController> sessions = mMediaSessionManager.getActiveSessionsForUser(
null, UserHandle.USER_ALL);
null, UserHandle.ALL);
for (MediaController mediaController : sessions) {
if (PlaybackState.STATE_PLAYING ==
getMediaControllerPlaybackState(mediaController)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment