diff options
author | Phil Burk <philburk@google.com> | 2015-08-21 15:39:10 -0700 |
---|---|---|
committer | Phil Burk <philburk@google.com> | 2015-10-12 21:03:30 +0000 |
commit | 7688911b9f08d239245e4e2c8f6153894fce9671 (patch) | |
tree | 402a9e69bd654273bc6b86511459aebcb592aca0 /media/packages | |
parent | c83a6121d214631c0a52be5b2c5c8ce2f6470ed0 (diff) | |
download | frameworks_base-7688911b9f08d239245e4e2c8f6153894fce9671.zip frameworks_base-7688911b9f08d239245e4e2c8f6153894fce9671.tar.gz frameworks_base-7688911b9f08d239245e4e2c8f6153894fce9671.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(); |