summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jean-Michel Trivi <jmtrivi@google.com> 2015-07-20 18:04:01 +0000
committer Android Git Automerger <android-git-automerger@android.com> 2015-07-20 18:04:01 +0000
commitc1aaeead6ed7bb685c7bd0b5e09de935913229ed (patch)
tree1894ace4ff7e853dba0da1f3d819f85737ea7985
parent0fc1e88c05e805324880a35b3f10126937824a79 (diff)
parent698250fae7d82d8020d2b9038b9e9d68c9489b04 (diff)
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.
-rw-r--r--services/core/java/com/android/server/media/MediaSessionService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/media/MediaSessionService.java b/services/core/java/com/android/server/media/MediaSessionService.java
index 80864610636e..7028fa6695f6 100644
--- a/services/core/java/com/android/server/media/MediaSessionService.java
+++ b/services/core/java/com/android/server/media/MediaSessionService.java
@@ -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);
}
}