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

Commit aa5b8486 authored by Manjeet Rulhania's avatar Manjeet Rulhania Committed by Android (Google) Code Review
Browse files

Merge "fix typos"

parents 1aa46c28 2ccb5278
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -683,7 +683,7 @@ public class PermissionManagerServiceImpl implements PermissionManagerServiceInt
            if (bp == null) {
                return;
            }
            if (bp.isDynamic()) {
            if (!bp.isDynamic()) {
                // TODO: switch this back to SecurityException
                Slog.wtf(TAG, "Not allowed to modify non-dynamic permission "
                        + permName);
@@ -1299,6 +1299,7 @@ public class PermissionManagerServiceImpl implements PermissionManagerServiceInt
                    }
                }
            }
        }

        if ((flags & PackageManager.FLAG_PERMISSION_WHITELIST_INSTALLER) != 0) {
            if (!isCallerPrivileged && !isCallerInstallerOnRecord) {
@@ -1307,7 +1308,6 @@ public class PermissionManagerServiceImpl implements PermissionManagerServiceInt
                        + Manifest.permission.WHITELIST_RESTRICTED_PERMISSIONS);
            }
        }
        }

        final long identity = Binder.clearCallingIdentity();
        try {