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