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

Commit 8fddbc44 authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by Android Git Automerger
Browse files

am a5cd5d87: am 0b5162c8: am 6dd856b1: Merge "Don\'t drop runtime permissions...

am a5cd5d87: am 0b5162c8: am 6dd856b1: Merge "Don\'t drop runtime permissions on older system app update." into mnc-dev

* commit 'a5cd5d87':
  Don't drop runtime permissions on older system app update.
parents 68025995 a5cd5d87
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -5933,12 +5933,6 @@ public class PackageManagerService extends IPackageManager.Stub {
         */
        if (shouldHideSystemApp) {
            synchronized (mPackages) {
                /*
                 * We have to grant systems permissions before we hide, because
                 * grantPermissions will assume the package update is trying to
                 * expand its permissions.
                 */
                grantPermissionsLPw(pkg, true, pkg.packageName);
                mSettings.disableSystemPackageLPw(pkg.packageName);
            }
        }