Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8eedd155 authored by Tudor Magirescu's avatar Tudor Magirescu
Browse files

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
parent 87a167d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment