summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Robert Wu <robertwu@google.com> 2023-12-06 22:53:05 +0000
committer Robert Wu <robertwu@google.com> 2023-12-07 00:08:49 +0000
commitd0d1e688e1849c6e684a110f2e875cbd39af1dfb (patch)
tree32acad18567e15f38fe9ba789dde86f870f99e27 /libs/androidfw/FileStream.cpp
parent0edd84716a9090da9a35837353ccb7344d5b8608 (diff)
MIDI: Check MIDI permission before parsing XML
MidiService is parsing the XML of installed packages. This is relatively expensive. This CL changes it so permissions and flags are checked first. This CL also adds additional null checks. Bug: 315203699 Test: atest MidiEchoTest Change-Id: I57e332f2afdcc54cc67986b8a8b2941ee1899c26
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions