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

Commit 14b95b7a authored by Rahul Arya's avatar Rahul Arya Committed by Thomas Girardier
Browse files

[Pandora] Fix slow reconnect_phone

🤡

Bug: 245578454
Test: Test: pts
Ignore-AOSP-First: Cherry-pick from aosp
Merged-In: Ib3142d9b5639fad95ed8b544d953dc8a2a34f4ec
Change-Id: Ib3142d9b5639fad95ed8b544d953dc8a2a34f4ec
parent 7417d952
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -128,6 +128,8 @@ class RootCanal:
                    target_phys = [le_phy]
                    target_phys = [le_phy]
                elif "hci_device" in name:
                elif "hci_device" in name:
                    target_phys = [classic_phy, le_phy]
                    target_phys = [classic_phy, le_phy]
                else:
                    target_phys = []


                for phy in target_phys:
                for phy in target_phys:
                    if dev_i not in self._parse_phy(devices["Phys"][phy])[1]:
                    if dev_i not in self._parse_phy(devices["Phys"][phy])[1]: