diff options
author | Phil Burk <philburk@google.com> | 2015-08-21 15:39:10 -0700 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2015-11-10 10:59:10 -0800 |
commit | 58dc1e3e9b8032b85d60f4ebda0089e299edb8f3 (patch) | |
tree | 1597c2e87a35f9b4bce817ff9343c1396dbc8fe6 /media/packages | |
parent | 6973447cdac1f98058f33305b2eeb62b9a8b4f01 (diff) | |
download | frameworks_base-58dc1e3e9b8032b85d60f4ebda0089e299edb8f3.zip frameworks_base-58dc1e3e9b8032b85d60f4ebda0089e299edb8f3.tar.gz frameworks_base-58dc1e3e9b8032b85d60f4ebda0089e299edb8f3.tar.bz2 |
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: Phil Burk <philburk@google.com>
(cherry picked from commit e5f722e55c5708c2b48b8c9688c135e451225032)
Diffstat (limited to 'media/packages')
-rw-r--r-- | media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/BluetoothMidiService.java | 1 |
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(); |