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

Commit c712204d authored by lge-aosp's avatar lge-aosp Committed by Dianne Hackborn
Browse files

Referencing of "r.record.name" is occured, when "r.record" is null.

Change-Id: I625e45923a7fd9f4ac8eb434ed07d452f8e1e0b6
parent 433863b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9239,7 +9239,7 @@ public final class ActivityManagerService extends ActivityManagerNative
                // r.record is null if findServiceLocked() failed the caller permission check
                if (r.record == null) {
                    throw new SecurityException(
                            "Permission Denial: Accessing service " + r.record.name
                            "Permission Denial: Accessing service "
                            + " from pid=" + Binder.getCallingPid()
                            + ", uid=" + Binder.getCallingUid()
                            + " requires " + r.permission);