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

Commit 2e48f1b9 authored by Phil Burk's avatar Phil Burk Committed by Glenn Kasten
Browse files

MidiBluetoothService: add new device to HashMap



The HashMap is being used but devices never added to the map.

Bug: 23429459
Change-Id: I1da5305a56f5bd48e1c5d9345e721ea8dd2eed4e
Signed-off-by: default avatarPhil Burk <philburk@google.com>
(cherry picked from commit e5f722e5)
parent a471e2cf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@ public class BluetoothMidiService extends Service {
                device = mDeviceServerMap.get(bluetoothDevice);
                if (device == null) {
                    device = new BluetoothMidiDevice(this, bluetoothDevice, this);
                    mDeviceServerMap.put(bluetoothDevice, device);
                }
            }
            return device.getBinder();