summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author mattgilbride <mattgilbride@google.com> 2023-02-24 14:42:44 +0000
committer Matt Gilbride <mattgilbride@google.com> 2023-03-09 13:46:40 +0000
commitc07b591e17606769ad0fbaa54089949ea7175c51 (patch)
treeb3184d95b0bb04dad74d44ec96e20f047ac5f8b1 /libs/androidfw/ObbFile.cpp
parentcd8470103f947274765d51c58556978b9cb22140 (diff)
Update AudioService to use manifest constants for @EnforcePermission
There are some usages of "short strings" for manifest permissions that cause the latest version of the EnforcePermissionDetector lint to fail, because it expects values that resolve to the fully qualified permision name e.g. "android.permission.MODIFY_AUDIO_ROUTING". "Short strings" like "MODIFY_AUDIO_ROUTING" are allowed in .aidl files, and the AIDL compiler resolves them to the fully qualified values in generated java. The attached bug has been opened to decide if we should update the lint to allow this syntax in the java annotation since it is supported in .aidl. Bug: 270686198 Test: TH Change-Id: Ifd2e39b53f614c3aaf9d03413ac46fd0c6909162 Merged-In: Ifd2e39b53f614c3aaf9d03413ac46fd0c6909162 (cherry picked from commit 27e9f91590f3eae8c307739071169f65459300c5)
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions