diff options
Diffstat (limited to 'com/android/settingslib/bluetooth/CachedBluetoothDevice.java')
-rw-r--r-- | com/android/settingslib/bluetooth/CachedBluetoothDevice.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/com/android/settingslib/bluetooth/CachedBluetoothDevice.java b/com/android/settingslib/bluetooth/CachedBluetoothDevice.java index 6c068ff1..dc2eceac 100644 --- a/com/android/settingslib/bluetooth/CachedBluetoothDevice.java +++ b/com/android/settingslib/bluetooth/CachedBluetoothDevice.java @@ -631,7 +631,7 @@ public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice> } HearingAidProfile hearingAidProfile = mProfileManager.getHearingAidProfile(); if (hearingAidProfile != null) { - mIsActiveDeviceHearingAid = hearingAidProfile.isActiveDevice(mDevice); + mIsActiveDeviceHearingAid = hearingAidProfile.getActiveDevices().contains(mDevice); } } |