commit | e98bde011c1a723b1dffa632d7dd3b194fb4084f | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Mon Oct 01 11:30:47 2012 -0700 |
committer | Amith Yamasani <yamasani@google.com> | Mon Oct 01 11:30:47 2012 -0700 |
tree | 4989f4f5bfdd96ba78778bf48579c9726c3e7143 | |
parent | c56e5600501a5c376dc13e6a99fcec7782fc8718 [diff] [blame] |
Fix broadcast to a specific user Bug: 7255777 Bug: 7263657 When userId is neither CURRENT nor ALL, the correct list of receivers was not being built, due to a typo in ActivityManagerService; Change-Id: Ib1dc627f0dbd1c91d02c718d2e4d2384ad687d1f
diff --git a/services/java/com/android/server/am/ActivityManagerService.java b/services/java/com/android/server/am/ActivityManagerService.java index 3428326..35f1b59 100644 --- a/services/java/com/android/server/am/ActivityManagerService.java +++ b/services/java/com/android/server/am/ActivityManagerService.java
@@ -11745,7 +11745,7 @@ users = mStartedUserArray; } else { // Caller wants broadcast to go to one specific user. - users = mCurrentUserArray; + users = new int[] {userId}; } // Figure out who all will receive this broadcast.