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

Commit dcd809e7 authored by Nate Myren's avatar Nate Myren Committed by Automerger Merge Worker
Browse files

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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15463733

Change-Id: I44bc8d19e6877cbfbf5cf54b9cb9dbcd8db35cd9
parents 89abfb36 c2c1c034
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);