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

Commit 42f0b444 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Check for perm being null in base permission

Test: Booted
Change-Id: I1c6256faab366b6d3b97a2da8958d1feeedf80cf
Fixes: 120833531
parent d5cc0bc1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -191,7 +191,8 @@ public final class BasePermission {
    }

    public boolean isRemoved() {
        return perm.info != null && (perm.info.flags & PermissionInfo.FLAG_REMOVED) != 0;
        return perm != null && perm.info != null
                && (perm.info.flags & PermissionInfo.FLAG_REMOVED) != 0;
    }

    public boolean isSignature() {