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

Commit cc6a215a authored by Gavin Corkery's avatar Gavin Corkery Committed by Android (Google) Code Review
Browse files

Merge "Don't send SESSION_COMMITTED broadcast for staged installs" into qt-qpr1-dev

parents ba5d5af3 74635f9a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20881,7 +20881,7 @@ public class PackageManagerService extends IPackageManager.Stub
    public void sendSessionCommitBroadcast(PackageInstaller.SessionInfo sessionInfo, int userId) {
        UserManagerService ums = UserManagerService.getInstance();
        if (ums != null) {
        if (ums != null && !sessionInfo.isStaged()) {
            final UserInfo parent = ums.getProfileParent(userId);
            final int launcherUid = (parent != null) ? parent.id : userId;
            final ComponentName launcherComponent = getDefaultHomeActivity(launcherUid);