diff options
author | 2023-11-02 15:11:07 +1100 | |
---|---|---|
committer | 2023-11-10 11:31:43 +1100 | |
commit | 627faea6c8ca730f5fb0d0a1ef86e0c5e13a2cd2 (patch) | |
tree | aaa571fe83b70dfa44b569f84f705bdb09aa4e86 /api/coverage/tools | |
parent | eb133bf3891f5db28a0f9d30e4848494feb13c7c (diff) |
Add PermissionAnnotationDetector
This detector ensures that all AIDL-generated interfaces are annotated
with one permission annotation (@EnforcePermission,
@NoPermissionRequired, or @PermissionManuallyEnforced). It is part of
the framework linters and disabled by default.
It will be enabled explicitly in a subsequent change (for
services/Android.bp). The baseline of the services will also be updated
to capture the current status of non-annotated interfaces.
Bug: 220214993
Test: atest --host AndroidFrameworkLintCheckerTest
Change-Id: I0fbd41b63465f119d90505153fa3a98c0fcdc798
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions