summaryrefslogtreecommitdiff
path: root/services/coverage/java
diff options
context:
space:
mode:
author mattgilbride <mattgilbride@google.com> 2022-12-01 16:27:09 +0000
committer mattgilbride <mattgilbride@google.com> 2022-12-02 16:43:55 +0000
commit302a7d905cd05e7e287f084557f947dfaf794869 (patch)
tree83074d5397e1f5d806f2369dee2edc4ab983bc0f /services/coverage/java
parentbd3b879b2d7cbd7ba9709889403575611deb67ea (diff)
SimpleManualPermissionEnforcementDetector: conditional ERROR level incident
Use the new information available in @PermissionMethod to raise an ERROR level incident if we are confident that migrating to @EnforcePermission is not behavior changing: - the called PermissionMethod returns void, indicating it *enforces* that PackageManager.PERMISSION_GRANTED is true - the called PermissionMethod is annotated orSelf = true, meaning it passes of the calling process OR the current process has the permission Bug: 232058525 Test: SimpleManualPermissionEnforcementDetectorTest Change-Id: Ic4be3d06d6b6446ee81560a6eda7bf9249db1f4c
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions