OSDN Git Service

Add logging message to indicate collision with previous pending connection from the...
authorJohanna Ye <xincheny@google.com>
Tue, 23 Mar 2021 16:04:43 +0000 (17:04 +0100)
committerJohanna Ye <xincheny@google.com>
Mon, 12 Apr 2021 11:20:50 +0000 (13:20 +0200)
commitb9871382cd02d5a03e2f16102eab0a3e9d7b72f8
tree8a110d12333b0966378b68fb67f4511aedbd515f
parent34e931422b4778f4d81b60e720292e882078de58
Add logging message to indicate collision with previous pending connection from the same remote device.

Currently, When there's already a pending connecting procedure going on in the native layer (even if it were the same remote device), the native layer returns BT_STATUS_BUSY which is then interpreted by the JNI layer as a failure to connect, resulting in a disconnection request.

This adds logging message when this happens, until there's a clear
indication to prioritize a complete fix.

Tag: #stability
Bug: 174127136
Test: manual through repeated connections in ADT3 OOBE
Change-Id: Ifc84e883f8ae248ecfa99556465c22b32ce82f79
btif/src/btif_hh.cc