Forked from
Dhina17 / platform_frameworks_base
Source project has a limited visibility.
-
mattgilbride authored
The subject linter catches cases that would be trivial to migrate from manual permission checks to the @EnforcePermission annotation. The linter will soon raise an error in the errorprone build if such a change would be completely behavior preserving, and thus the manual permission check should be replaced by the annotation. Baseline the remaining sites that would raise such an error so that the linter can be updated accordingly. Bug: 265014041 Test: TH, manually tested with local changes to linter Change-Id: I7932f75b2dbd96944fee63d36e15529df3219d3a
mattgilbride authoredThe subject linter catches cases that would be trivial to migrate from manual permission checks to the @EnforcePermission annotation. The linter will soon raise an error in the errorprone build if such a change would be completely behavior preserving, and thus the manual permission check should be replaced by the annotation. Baseline the remaining sites that would raise such an error so that the linter can be updated accordingly. Bug: 265014041 Test: TH, manually tested with local changes to linter Change-Id: I7932f75b2dbd96944fee63d36e15529df3219d3a
Code owners
Assign users and groups as approvers for specific file changes. Learn more.