am 698250fa: Merge "Media button intent should be send to current user only." into mnc-dev

* commit '698250fae7d82d8020d2b9038b9e9d68c9489b04':
  Media button intent should be send to current user only.
This commit is contained in:
Jean-Michel Trivi
2015-07-20 18:04:05 +00:00
committed by Android Git Automerger

View File

@@ -988,7 +988,7 @@ public class MediaSessionService extends SystemService implements Monitor {
keyIntent.putExtra(EXTRA_WAKELOCK_ACQUIRED,
WAKELOCK_RELEASE_ON_FINISHED);
}
getContext().sendOrderedBroadcastAsUser(keyIntent, UserHandle.ALL,
getContext().sendOrderedBroadcastAsUser(keyIntent, UserHandle.CURRENT,
null, mKeyEventDone, mHandler, Activity.RESULT_OK, null, null);
}
}