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

Commit 54128d88 authored by Himanshu Rawat's avatar Himanshu Rawat
Browse files

Remove flag remove_address_map_on_unbond

Change-Id: Ic11e5ab5044636ebb3f9a4e7b0c05e208deeba93
Test: mmm packages/modules/Bluetooth
Flag: com.android.bluetooth.flags.remove_address_map_on_unbond
Bug: 335465028
parent 8b6cab9e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1440,7 +1440,7 @@ public class RemoteDevices {
    void onBondStateChange(BluetoothDevice device, int newState) {
        String address = device.getAddress();

        if (Flags.removeAddressMapOnUnbond() && newState == BluetoothDevice.BOND_NONE) {
        if (newState == BluetoothDevice.BOND_NONE) {
            removeAddressMapping(address);
        }
    }
+0 −10
Original line number Diff line number Diff line
@@ -27,16 +27,6 @@ flag {
    }
}

flag {
    name: "remove_address_map_on_unbond"
    namespace: "bluetooth"
    description: "Removes the address map when the bond is removed"
    bug: "335465028"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
    name: "support_bluetooth_quality_report_v6"
    is_exported: true