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

Skip to content
Commit 69178b33 authored by mattgilbride's avatar mattgilbride Committed by Matt Gilbride
Browse files

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
parent 50fe8c61
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment