summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Tudor Magirescu <tmagirescu@google.com> 2024-09-13 14:18:35 +0000
committer Tudor Magirescu <tmagirescu@google.com> 2024-09-16 12:24:26 +0000
commit8eedd1551942a61c9601b69f644b05b2bda5c141 (patch)
tree87d483a9b364f961c48a30e34f62e6ba8a0f7574 /api/api.go
parent87a167d82f6998bd1ce9cda1d0d0ee0699beb89e (diff)
Add SimpleRequiresNoPermissionDetector
SimpleRequiresNoPermissionDetector is a global lint check that raises an error at presubmit when newly added AIDL Interface APIs part of system_server should be annotated with @RequiresNoPermission. More specifically, when an AIDL API implementation doesn't make any method calls, we can be certain it does not check for any permission. In these scenarios, the API should be annotated with @RequiresNoPermission. Bug: 366207898 Test: SimpleRequiresNoPermissionDetectorTest Flag: EXEMPT lint check Change-Id: I7e4d7b782e91731f7537fa143ae4781f4a1b35c2
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions