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

Commit 95fab76b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[PackageInstallerService] only update session badge when needed"

parents af58ad5d 01d4ad9f
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -912,10 +912,12 @@ public class PackageInstallerService extends IPackageInstaller.Stub implements
            if (session == null || !isCallingUidOwner(session)) {
                throw new SecurityException("Caller has no access to session " + sessionId);
            }
            if (!appLabel.equals(session.params.appLabel)) {
                session.params.appLabel = appLabel;
                mInternalCallback.onSessionBadgingChanged(session);
            }
        }
    }

    @Override
    public void abandonSession(int sessionId) {