Merge "Rename CachedBluetoothDevice.getConnectableProfiles()" into main

This commit is contained in:
Angela Wang
2024-08-07 09:52:32 +00:00
committed by Android (Google) Code Review
6 changed files with 14 additions and 14 deletions

View File

@@ -314,7 +314,7 @@ public class BluetoothDetailsProfilesController extends BluetoothDetailsControll
return result;
}
for (CachedBluetoothDevice cachedItem : mAllOfCachedDevices) {
List<LocalBluetoothProfile> tmpResult = cachedItem.getConnectableProfiles();
List<LocalBluetoothProfile> tmpResult = cachedItem.getUiAccessibleProfiles();
for (LocalBluetoothProfile profile : tmpResult) {
if (mProfileDeviceMap.containsKey(profile.toString())) {
mProfileDeviceMap.get(profile.toString()).add(cachedItem);