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

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

Merge "Add null pointer check to getStopped" into sc-dev

parents 5681f7c0 2e1192c4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23351,7 +23351,7 @@ public class PackageManagerService extends IPackageManager.Stub
        // writer
        synchronized (mLock) {
            final PackageSetting ps = mSettings.getPackageLPr(packageName);
            if (ps.getStopped(userId) && !stopped) {
            if (ps != null && ps.getStopped(userId) && !stopped) {
                shouldUnhibernate = true;
            }
            if (!shouldFilterApplicationLocked(ps, callingUid, userId)