Add a PermissionMethodDetector lint to enforce proper usage of the
annotation

See: go/enforcepermission-migration-design
Bug: 247537842
Test: Tested manually, ultimately will be tested in presubmit (atest
AndroidFrameworkLintCheckerTest, see TODO b/240445172)

Change-Id: I9d2c0125a3d1c22288e191b891245ca216b49112
4 files changed