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

Commit 9b58e266 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "MidiService: synchronize mDeviceConnections" into sc-dev am: e65c02b2 am: 947827c6

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15317991

Change-Id: Id3420969efcbde71c3b94eac90ae197839f92291
parents 90f66785 947827c6
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;