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
Loading
Please register or sign in to comment