commit | 9ef4ab185a261ccb9d317e6e01ed9da15fe1d39e | [log] [tgz] |
---|---|---|
author | ThiƩbaud Weksteen <tweek@google.com> | Tue Mar 07 11:58:50 2023 +1100 |
committer | ThiƩbaud Weksteen <tweek@google.com> | Tue Mar 21 10:08:21 2023 +1100 |
tree | 3ec006d28453a1efe911f94c10faef8b7f14373d | |
parent | 1e49f5d23148268f22352c7ae3f8858a0f3847d2 [diff] |
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