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

Commit c8e8a12b authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android (Google) Code Review
Browse files

Merge "Fix issue #3289835: NullPointerException in..." into gingerbread

parents a936b256 3ec27e06
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -5699,6 +5699,9 @@ class PackageManagerService extends IPackageManager.Stub {
        res.removedInfo.removedPackage = packageName;
        res.removedInfo.removedPackage = packageName;
        // Remove existing system package
        // Remove existing system package
        removePackageLI(oldPkg, true);
        removePackageLI(oldPkg, true);
        synchronized (mPackages) {
            mSettings.disableSystemPackageLP(packageName);
        }
        
        
        // Successfully disabled the old package. Now proceed with re-installation
        // Successfully disabled the old package. Now proceed with re-installation
        mLastScanError = PackageManager.INSTALL_SUCCEEDED;
        mLastScanError = PackageManager.INSTALL_SUCCEEDED;