summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2015-10-13 01:16:56 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-10-13 01:16:56 +0000
commita14d1bd798ca38f24b2f489ad7f32dff700b141e (patch)
tree7923d1b567a4b5bbae6a738ab19789cf89a601e6 /media
parent5b53211a8e0b79a4fa7d8a5dad41bcf86f1ab9fe (diff)
parentc1c462cbaa8b65c6240f947de503619482296222 (diff)
downloadframeworks_base-a14d1bd798ca38f24b2f489ad7f32dff700b141e.zip
frameworks_base-a14d1bd798ca38f24b2f489ad7f32dff700b141e.tar.gz
frameworks_base-a14d1bd798ca38f24b2f489ad7f32dff700b141e.tar.bz2
am c1c462cb: Merge "MidiBluetoothService: add new device to HashMap" into mnc-dr-dev
* commit 'c1c462cbaa8b65c6240f947de503619482296222': MidiBluetoothService: add new device to HashMap
Diffstat (limited to 'media')
-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();