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

Commit caf0496d authored by Kenny Root's avatar Kenny Root Committed by Gerrit Code Review
Browse files

Merge "Check outInfo is not null"

parents 68913baf fc78e60a
Loading
Loading
Loading
Loading
+10 −8
Original line number Diff line number Diff line
@@ -8221,8 +8221,9 @@ public class PackageManagerService extends IPackageManager.Stub {
                mSettings.writeLPr();
            }
        }
        // A user ID was deleted here. Go through all users and remove it from
        // KeyStore.
        if (outInfo != null) {
            // A user ID was deleted here. Go through all users and remove it
            // from KeyStore.
            final int appId = outInfo.removedAppId;
            if (appId != -1) {
                final KeyStore keyStore = KeyStore.getInstance();
@@ -8233,6 +8234,7 @@ public class PackageManagerService extends IPackageManager.Stub {
                }
            }
        }
    }

    /*
     * Tries to delete system package.