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

Commit 0f655073 authored by Kweku Adams's avatar Kweku Adams
Browse files

Make error message readable.

Add space after "permission" to separate the word from the actual permission name.

Bug: 217770322
Test: N/A
Change-Id: Ib17497c7ce7580e9d866d2c4ca16b335055947f5
parent fe17eccc
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -3523,8 +3523,9 @@ public class PermissionManagerServiceImpl implements PermissionManagerServiceInt
        final Boolean granted =
                SystemConfig.getInstance().getOemPermissions(pkg.getPackageName()).get(permission);
        if (granted == null) {
            throw new IllegalStateException("OEM permission" + permission + " requested by package "
                    + pkg.getPackageName() + " must be explicitly declared granted or not");
            throw new IllegalStateException("OEM permission " + permission
                    + " requested by package " + pkg.getPackageName()
                    + " must be explicitly declared granted or not");
        }
        return Boolean.TRUE == granted;
    }