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

Commit 4c07f7b5 authored by Svet Ganov's avatar Svet Ganov Committed by Android Git Automerger
Browse files

am 5121345d: am 0f800f7c: Ensure default permissions not dropped on data wipe

* commit '5121345d':
  Ensure default permissions not dropped on data wipe
parents 07247e48 5121345d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -12726,6 +12726,9 @@ public class PackageManagerService extends IPackageManager.Stub {
            }
        }
        // Ensure default permissions are never cleared.
        mDefaultPermissionPolicy.grantDefaultPermissions(userId);
        if (needsWrite) {
            mSettings.writeRuntimePermissionsForUserLPr(userId, true);
        }