+118
−0
+244
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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