Skip to content

Commit b525c3c

Browse files
Amith YamasaniAndroid (Google) Code Review
authored andcommitted
Merge "Fix broadcast to a specific user" into jb-mr1-dev
2 parents 2036a94 + e98bde0 commit b525c3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/java/com/android/server/am/ActivityManagerService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11745,7 +11745,7 @@ private final int broadcastIntentLocked(ProcessRecord callerApp,
1174511745
users = mStartedUserArray;
1174611746
} else {
1174711747
// Caller wants broadcast to go to one specific user.
11748-
users = mCurrentUserArray;
11748+
users = new int[] {userId};
1174911749
}
1175011750

1175111751
// Figure out who all will receive this broadcast.

0 commit comments

Comments
 (0)