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

Commit 2ccb5278 authored by Manjeet Rulhania's avatar Manjeet Rulhania
Browse files

fix typos

Test: presubmit
Change-Id: Ia8bdeebc38a69ffadac6c37fcdc0afab47c595e5
parent 09f5c4d3
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 {