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

Commit ffcf5f2e authored by Yuyang Huang's avatar Yuyang Huang
Browse files

Add a log message when AG open failure is mitigated.

Bug: 341209537
Bug: 346679106
Change-Id: I403663561187ae8c158d58cd49b9ffe99877d654
Test: m packages/modules/Bluetooth
Flag: com::android::bluetooth::flags::ignore_notify_when_already_connected
parent a77dee9a
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -440,6 +440,8 @@ static void btif_hf_upstreams_evt(uint16_t event, char* p_param) {
              // There is already an active cnnection on this device
              // There is already an active cnnection on this device
              // skip upper layer notification
              // skip upper layer notification
              notify_required = false;
              notify_required = false;
              log::info("AG open failure for {} is ignored because there's an "
                        "active connection on the same device", connected_bda);
              break;
              break;
            }
            }
          }
          }