Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e3ce28f authored by Chienyuan Huang's avatar Chienyuan Huang
Browse files

Removing flag enable_cached_bluetooth_device_dedup

Bug: 319197962
Test: manual
Flag: EXEMPT removing com.android.settingslib.flags.Flags.enableCachedBluetoothDeviceDedup

Change-Id: I1f8c76dfff498ac8a63742942eff3a6008d5993f
parent f2a02e99
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -8,16 +8,6 @@ flag {
    bug: "314812750"
}

flag {
    name: "enable_cached_bluetooth_device_dedup"
    namespace: "bluetooth"
    description: "Enable dedup in CachedBluetoothDevice"
    bug: "319197962"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
   name: "bluetooth_qs_tile_dialog_auto_on_toggle"
   namespace: "bluetooth"
+1 −3
Original line number Diff line number Diff line
@@ -16,8 +16,6 @@

package com.android.settingslib.bluetooth;

import static com.android.settingslib.flags.Flags.enableCachedBluetoothDeviceDedup;

import android.bluetooth.BluetoothA2dp;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothCsipSetCoordinator;
@@ -403,7 +401,7 @@ public class BluetoothEventManager {
                cachedDevice = mDeviceManager.addDevice(device);
            }

            if (enableCachedBluetoothDeviceDedup() && bondState == BluetoothDevice.BOND_BONDED) {
            if (bondState == BluetoothDevice.BOND_BONDED) {
                mDeviceManager.removeDuplicateInstanceForIdentityAddress(device);
            }