Add reporting tool for migration to @EnforcePermission
Add a tool "enforce_permission_counter" which leverages lint_fix and the AndroidUtilsLintChecker linter to report on the number of AIDL methods that have been migrated to use the @EnforcePermission annotation (or @RequiresNoPermission). Test: enforce_permission_counter Test: lint_fix --print --no-fix --check AnnotatedAidlCounter \ --lint-module AndroidUtilsLintChecker services.autofill Bug: 298285238 Change-Id: I521ab5358476f63387674e17c601da3b63cbc1d8
Loading
Please register or sign in to comment