[Temp bonding] Clean up old guest device logic as requirements changed
Test: manual test Bug: 362859132 Flag: com.android.settingslib.flags.enable_temporary_bond_devices_ui Change-Id: If4a471e2058873be5cdb0ee43371333ebdc9a38a
This commit is contained in:
@@ -57,14 +57,6 @@ public class ConnectedBluetoothDeviceUpdater extends BluetoothDeviceUpdater {
|
||||
|
||||
@Override
|
||||
public boolean isFilterMatched(CachedBluetoothDevice cachedDevice) {
|
||||
// If the device is temporary bond, it shouldn't be shown here.
|
||||
if (Flags.enableTemporaryBondDevicesUi()
|
||||
&& BluetoothUtils.isTemporaryBondDevice(cachedDevice.getDevice())) {
|
||||
Log.d(TAG,
|
||||
"isFilterMatched() Filter out temporary bond device " + cachedDevice.getName());
|
||||
return false;
|
||||
}
|
||||
|
||||
final int currentAudioProfile;
|
||||
|
||||
if (mAudioMode == AudioManager.MODE_RINGTONE
|
||||
|
||||
Reference in New Issue
Block a user