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

Commit 0369a7c3 authored by root's avatar root Committed by Jean-Baptiste Queru
Browse files

Improve warning messages for permission denial due to non-exported intent receivers.

parent c0bfbd34
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5746,6 +5746,7 @@ public final class ActivityManagerService extends ActivityManagerNative implemen
        }
        // If the target requires a specific UID, always fail for others.
        if (reqUid >= 0 && uid != reqUid) {
            Log.w(TAG, "Permission denied: checkComponentPermission() reqUid=" + reqUid);
            return PackageManager.PERMISSION_DENIED;
        }
        if (permission == null) {