diff options
| author | 2023-12-04 11:32:10 +1100 | |
|---|---|---|
| committer | 2023-12-12 14:59:48 +1100 | |
| commit | 39b25def8e8de85bc6c03d551f3d54dbbdcdf9fc (patch) | |
| tree | dd2f7237648313056c744923656de1689c438d44 /api/api.go | |
| parent | 2559674dafa3e71c4080f392aebdd366f1d9b3a2 (diff) | |
Enable PermissionAnnotationDetector for services.accessibility
Enable the linter and capture the current status by annotating Stub
classes with @SuppressWarnings.
The intent of this series of change is to ensure that all exposed Binder
methods from system_server are annotated. Service owners can start using
the following annotations on each method:
- @EnforcePermission, if a permission is required. The same annotation
will be defined on the AIDL interface definition.
- @RequiresNoPermission, if no permission is required.
- @PermissionManuallyEnforced, if a specific mechanism to enforce
permission is required.
See go/aidl-enforce-howto for more background information and details on
how to migrate interfaces.
Test: m lint-check
Bug: 220214993
Change-Id: I4a6a48545251dfccad4464bb76a219005d7633b2
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions