summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author ThiƩbaud Weksteen <tweek@google.com> 2023-10-30 14:17:43 +1100
committer ThiƩbaud Weksteen <tweek@google.com> 2023-10-31 11:17:30 +1100
commit9252e5ceaf53349cdf6b344aa54a983cd1426341 (patch)
treee5d7e3d5afd341ee2e3dec238a999a142ebb9987 /libs/androidfw/ZipFileRO.cpp
parente7ad23ad01c8bfdcabf85b2a80a66bcb95ab59dc (diff)
Add test for mis-annotated method
Previously, if a method: 1. was annotated with @EnforcePermission, 2. belonged to a class which implements an AIDL interface, 3. but did not override a method from that interface; an error was returned as the call to the helper was missing. The correct error for this case is that the method should not use the annotation. Update the detector and add a test for this case. Bug: 307433823 Test: atest --host AndroidGlobalLintCheckerTest Change-Id: I04c68e95bc4932459b46982a7dd1814424ff6b46
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions