Merge "Media button intent should be send to current user only." into mnc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
698250fae7
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user