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

Commit ae1f8377 authored by Zhengping Jiang's avatar Zhengping Jiang Committed by Automerger Merge Worker
Browse files

Merge "floss: services are resolved when receiving uuids" am: 39a11b9e

parents 68610fd7 39a11b9e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1148,9 +1148,6 @@ impl BtifBluetoothCallbacks for Bluetooth {
                d.update_properties(&properties);
                d.seen();

                // Services are resolved.
                d.services_resolved = true;

                Bluetooth::send_metrics_remote_device_info(d);

                let info = d.info.clone();
@@ -1163,6 +1160,9 @@ impl BtifBluetoothCallbacks for Bluetooth {
                    })
                    .map_or(false, |v| v);

                // Services are resolved when uuids are fetched.
                d.services_resolved = has_uuids;

                if d.wait_to_connect && has_uuids {
                    d.wait_to_connect = false;