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

Skip to content
Commit d0d1e688 authored by Robert Wu's avatar Robert Wu
Browse files

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
parent 0edd8471
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