commit | 2c70244d2169364f15fa7271309e2a314794ff03 | [log] [tgz] |
---|---|---|
author | ThiƩbaud Weksteen <tweek@google.com> | Fri Jan 07 13:24:28 2022 +1100 |
committer | ThiƩbaud Weksteen <tweek@google.com> | Thu Jan 20 09:13:29 2022 +1100 |
tree | 4ea813c0eb8e32a4766ec7620dacaa2b612f01dc | |
parent | cd88027c3eb12baaefbee93b95f088d2611e18e4 [diff] |
Add @EnforcePermission linter This linter ensures that any class (or method) that extends (or overrides) another one annotated with @EnforcePermission, is also annotated with the exact same annotation. The intent is to surface the permissions verified at lower-level to the service implementation. Test: atest --host com.google.android.lint.EnforcePermissionDetectorTest Bug: 197828948 Change-Id: I042b7e5d99bae05681869f13702d1c169b8bdb05