Phil Burk ad82a0fef5 MidiService: synchronize mDeviceConnections
Try to prevent a NullPointerException caused
by scanning the array while devices were being removed
by another thread.

Bug: 193278370
Test: atest CtsMidiTestCases
Change-Id: I8560cf6f39654037d5ccdc0f6922fa8bdb719c2f
2021-07-17 19:03:57 +00:00
..