From f4e1d98c751a1c07005d4ba31c4b6de9ddb7958f Mon Sep 17 00:00:00 2001 From: mattgilbride Date: Wed, 10 May 2023 03:23:17 +0000 Subject: Baseline remaining SimpleManualPermissionEnforcement lint errors 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 --- services/backup/lint-baseline.xml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'services/backup') diff --git a/services/backup/lint-baseline.xml b/services/backup/lint-baseline.xml index 28bb937cfd9c..93c9390feb9c 100644 --- a/services/backup/lint-baseline.xml +++ b/services/backup/lint-baseline.xml @@ -12,4 +12,28 @@ column="16"/> + + + + + + + + + + + + -- cgit v1.2.3-59-g8ed1b