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

Commit 65fc5844 authored by Zheng Zhang's avatar Zheng Zhang Committed by Maggie Lee
Browse files

Fix the reconnect issue in hfp client



The HFP client would not reconnect any more on collision scenario
as upper layer calls the connect API per 30s. which related with
CL of d338a642

Bug: 74518379

Test: Manual test for multiple incoming/outgoing HF connections
      between Android Wear and Handset

Signed-off-by: default avatarKai Huang <huangkai1@huawei.com>

Change-Id: I445f3633165d8ec12f91bc5fe5a8217505318cff
parent a71a8c35
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -386,7 +386,7 @@ void bta_hf_client_collision_cback(UNUSED_ATTR tBTA_SYS_CONN_STATUS status,

    /* reopen registered server */
    /* Collision may be detected before or after we close servers. */
    // bta_hf_client_start_server();
    bta_hf_client_start_server();

    /* Start timer to handle connection opening restart */
    alarm_set_on_mloop(client_cb->collision_timer,