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

Commit d3c001b8 authored by Himanshu Rawat's avatar Himanshu Rawat
Browse files

Remove flag temporary_pairing_device_properties

Change-Id: I8966775e7d88e042981f80c9baa821f9aab91305
Test: mmm packages/modules/Bluetooth
Flag: com.android.bluetooth.flags.temporary_pairing_device_properties
Bug: 342202557
parent 71a44717
Loading
Loading
Loading
Loading
+15 −17
Original line number Diff line number Diff line
@@ -1405,7 +1405,6 @@ public class RemoteDevices {
    }

    private void removeAddressMapping(String address) {
        if (Flags.temporaryPairingDeviceProperties()) {
        DeviceProperties deviceProperties = mDevices.get(address);
        if (deviceProperties != null) {
            String pseudoAddress = mDualDevicesMap.get(address);
@@ -1425,7 +1424,6 @@ public class RemoteDevices {
                return;
            }
        }
        }

        synchronized (mDevices) {
            mDevices.remove(address);
+0 −10
Original line number Diff line number Diff line
@@ -21,16 +21,6 @@ flag {
    }
}

flag {
    name: "temporary_pairing_device_properties"
    namespace: "bluetooth"
    description: "Do not remove the device properties immediately after insecure pairing"
    bug: "342202557"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
    name: "pairing_name_discovery_addresss_mismatch"
    namespace: "bluetooth"