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

Commit 5c361fc3 authored by Svet Ganov's avatar Svet Ganov Committed by Android Git Automerger
Browse files

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

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