summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2015-10-13 01:09:32 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-10-13 01:09:32 +0000
commitc1c462cbaa8b65c6240f947de503619482296222 (patch)
tree5ff5128a6373e24848876a653c226c8832b840ff
parentce42e922197bd39276c642f3759c2a053f673d82 (diff)
parent7688911b9f08d239245e4e2c8f6153894fce9671 (diff)
downloadframeworks_base-c1c462cbaa8b65c6240f947de503619482296222.zip
frameworks_base-c1c462cbaa8b65c6240f947de503619482296222.tar.gz
frameworks_base-c1c462cbaa8b65c6240f947de503619482296222.tar.bz2
Merge "MidiBluetoothService: add new device to HashMap" into mnc-dr-dev
-rw-r--r--media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/BluetoothMidiService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/BluetoothMidiService.java b/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/BluetoothMidiService.java
index fbde2b4..1f81a05 100644
--- a/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/BluetoothMidiService.java
+++ b/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/BluetoothMidiService.java
@@ -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();