commit | 8a6ef891edd677c93af7ab488d14da181fcc9b52 | [log] [tgz] |
---|---|---|
author | timhypeng <timhypeng@google.com> | Tue Jul 31 15:44:31 2018 +0800 |
committer | timhypeng <timhypeng@google.com> | Thu Aug 16 09:27:13 2018 +0800 |
tree | d41bcef4c9a8208ab91f625a13e91b5b2f034c30 | |
parent | f989a15ed89774ec40ec2562541806212a70e526 [diff] [blame] |
Remove LocalBluetoothAdapter from CachedBluetoothDeviceManager::addDevice() Bug: 111815935 Test: build pass Change-Id: I1975b2ae121e9f6629d285241fd2faf1021cac06
diff --git a/packages/SystemUI/src/com/android/systemui/keyboard/KeyboardUI.java b/packages/SystemUI/src/com/android/systemui/keyboard/KeyboardUI.java index a42191c..76a1acc 100644 --- a/packages/SystemUI/src/com/android/systemui/keyboard/KeyboardUI.java +++ b/packages/SystemUI/src/com/android/systemui/keyboard/KeyboardUI.java
@@ -318,7 +318,7 @@ private CachedBluetoothDevice getCachedBluetoothDevice(BluetoothDevice d) { CachedBluetoothDevice cachedDevice = mCachedDeviceManager.findDevice(d); if (cachedDevice == null) { - cachedDevice = mCachedDeviceManager.addDevice(mLocalBluetoothAdapter, d); + cachedDevice = mCachedDeviceManager.addDevice(d); } return cachedDevice; }