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

Commit 6b409d93 authored by BK Choi's avatar BK Choi Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE due to a null package name of system enforcing admin." into main

parents 2438ba5c 1e2adecd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -203,7 +203,8 @@ final class EnforcingAdmin {
        // Only system authorities use this constructor.
        mIsSystemAuthority = true;
        mIsRoleAuthority = false;
        mPackageName = null;
        // Package name is not used for a system enforcing admin, so an empty string is fine.
        mPackageName = "";
        mSystemEntity = systemEntity;
        mUserId = UserHandle.USER_SYSTEM;
        mComponentName = null;