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

Commit e65c02b2 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "MidiService: synchronize mDeviceConnections" into sc-dev

parents c03fb15e ad82a0fe
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -350,11 +350,13 @@ public class MidiService extends IMidiManager.Stub {
            }

            if (mDeviceConnections != null) {
                synchronized (mDeviceConnections) {
                    for (DeviceConnection connection : mDeviceConnections) {
                        connection.notifyClient(server);
                    }
                }
            }
        }

        public MidiDeviceInfo getDeviceInfo() {
            return mDeviceInfo;