commit | a26a0dfabc22e93ff5308d0845dfa47ec3a2be45 | [log] [tgz] |
---|---|---|
author | ThiƩbaud Weksteen <tweek@google.com> | Fri Apr 21 13:37:27 2023 +1000 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Tue May 02 23:46:09 2023 +0000 |
tree | e9960dc8e48561a9682449724898f83451fcd717 | |
parent | 379b8d15fb383bad61a8b85dbef6f97428808b5c [diff] |
Ignore AttributionSource argument for @EnforcePermission If a method is annotated with @EnforcePermission and one if its argument is of type AttributionSource, it was asssumed that this argument would be used for the verification of permissions. This case was introduced to support IBluetooth.aidl which uses this convention. Remove the support of this case as this is a temporary solution. A long-term solution would likely involve the sharing of the AttributionSource at a lower-level, similarly to WorkSource. aidl-test-interface-permission-java-source is updated because of the new implementation. aidl-test-interface-platform-java-source is an outdated golden output. It is removed. Bug: 279811284 Test: atest aidl_integration_test Test: atest EnforcePermissionTests (cherry picked from https://android-review.googlesource.com/q/commit:c37da5ffe425a3efc8cb2adb685b599d5efe51fb) Merged-In: I36d7b855ade20d205d984783f4ff43904f424e6f Change-Id: I36d7b855ade20d205d984783f4ff43904f424e6f
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview