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

Commit b69bed19 authored by Suchi Amalapurapu's avatar Suchi Amalapurapu Committed by The Android Open Source Project
Browse files

AI 150122: Merge from donut.

  Fix permissions issue for uninstall of updated system applications.
  If an existing update for a system application is uninstalled, when reverting back to the existing
  version in system partition, permissions have to be granted again.
  BUG=1893639

Automated import of CL 150122
parent 373271b9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4034,6 +4034,7 @@ class PackageManagerService extends IPackageManager.Stub {
            return false;
        }
        synchronized (mPackages) {
            grantPermissionsLP(newPkg, true);
            mSettings.writeLP();
        }
        return true;