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
Loading
Please register or sign in to comment