Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 39b25def authored by Thiébaud Weksteen's avatar Thiébaud Weksteen
Browse files

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
parent 2559674d
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