Skip to content
Commit 9ef4ab18 authored by Thiébaud Weksteen's avatar Thiébaud Weksteen
Browse files

Support uid/pid in PermissionEnforcer

For permissions without an AppOp, there is no need to create an
AttributionSource. Add variants for enforcePermission{,AnyOf,AllOf} to
accept a uid/pid instead of an AttributionSource.

Bug: 269684922
Test: atest EnforcePermissionTests
Change-Id: I308f055e9d7b378cbb84a7a8e5d2eb5f8aea4850
parent 1e49f5d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment