Conditionally report SimpleManualPermissionEnforcement lint as ERROR
Certain manual permission checks in AIDL implementations can be replaced with the @EnforcePermission annotation in a behavior perserving way. When this is the case, the linter will now report at ERROR severity This will break the errorprone build, reminding the author to use the annotation instead. Bug: 265014041 Test: TH, manually tested with local changes to linter Change-Id: I9fedd9d9fae19dd7126fa5cc4c410ccf775e0d8a
Loading
Please register or sign in to comment