Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e98bde01 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

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
parent c56e5600
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11745,7 +11745,7 @@ public final class ActivityManagerService extends ActivityManagerNative
            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.