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

Skip to content
Commit e63cb8fa authored by Thiébaud Weksteen's avatar Thiébaud Weksteen
Browse files

Support @EnforcePermission annotation

Update RequiresPermissionChecker to support a method annotated with
@EnforcePermission. If encountered, we assume that the implementation is
enforcing the declared permissions (this is verified by another linter).

Bug: 239369037
Test: atest --host error_prone_android_framework_test
Change-Id: I25deb47acc1259a1171954aeebd72eb60f01fc49
parent 31e1f9f8
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