| commit | 69dec36abefb81658dcedc6d3cab28b423cb139a | [log] [tgz] |
|---|---|---|
| author | mattgilbride <mattgilbride@google.com> | Fri Sep 30 00:37:44 2022 +0000 |
| committer | mattgilbride <mattgilbride@google.com> | Wed Oct 19 13:27:23 2022 +0000 |
| tree | 5e112b06318fd64cf6f52eebdb81bb65b9788d94 | |
| parent | d43602bbdd098862d6f088b9e0b38b6feecc70a8 [diff] |
Refactor ManualPermissionCheckDetector for @PermissionMethod Uses @PermissionMethod/@PermissionName annotations to find and auto-fix "manual" permission checks that can be migrated to @EnforcePermission (as opposed to a hard-coded list of known permission methods). Bug: 247537842 Test: ManualPermissionCheckDetectorTest Change-Id: Ibd842f0e64e2006954bffa24c7fe394903dd7b61