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
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment