Skip to content
Commit 003fbc74 authored by mattgilbride's avatar mattgilbride
Browse files

SimpleManualPermissionEnforcementDetector: suggest calling helper method and turn on

The previous fix only suggested removing the manual permission
enforcement. Suggest replacing with the required helper method call.

Also turn this detector on, but reporting all incidents at WARNING level.
This will surface the call sites that need migration in the errorprone
build without actually causing failure. Once all call sites that would
cause an ERROR level incident have been migrated, we can turn that
functionality back on (b/265014041).

Bug: 261976627
Test: SimpleManualPermissionEnforcementDetectorTest

Change-Id: I9e2e6d1981d9a8dc59b9c8078d7ce80b1d0b10ab
parent 7535df42
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