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

Commit c2c1c034 authored by Nate Myren's avatar Nate Myren Committed by Android (Google) Code Review
Browse files

Merge "Remove calling UID check from ContentProvider" into sc-dev

parents 47fc76e4 e758539f
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -745,9 +745,6 @@ public abstract class ContentProvider implements ContentInterface, ComponentCall
        if (Binder.getCallingPid() == Process.myPid()) {
            return PermissionChecker.PERMISSION_GRANTED;
        }
        if (!attributionSource.checkCallingUid()) {
            return PermissionChecker.PERMISSION_HARD_DENIED;
        }
        return PermissionChecker.checkPermissionForDataDeliveryFromDataSource(getContext(),
                permission, -1, new AttributionSource(getContext().getAttributionSource(),
                        attributionSource), /*message*/ null);