OSDN Git Service

DO NOT MERGE Separate SDP procedure from bonding state (1/2)
authorUgo Yu <ugoyu@google.com>
Thu, 23 May 2019 13:05:49 +0000 (21:05 +0800)
committerUgo Yu <ugoyu@google.com>
Wed, 29 May 2019 11:19:05 +0000 (19:19 +0800)
commit553eb90719404652046698c9191e995c86743129
tree8e090bceb8f5068730a2fafca217664ad36c1702
parentc22f6523104c20d6be26e61d37818c146761752f
DO NOT MERGE Separate SDP procedure from bonding state (1/2)

- Do not stay in bonding state if the device is paried but still
  discovering service.
- Report BOND_BONDED to Java after authentication for a classic
  Bluetooth device is completed.
- Send BONDING event to Java when static identity address is
  first obtained during crosskey pairing
- Send BONDING event to Java for the initial random address
  before send BONDED event
- Do not send bond event for static identity address when SDP is done.
- Make sure pairing control block always get cleaned up when both SDP
  and pairing are done
- Send empty UUIDs to Java layer to unblock bonding intent broadcast
  when SDP fails

Bug: 79703832
Test: runtest bluetooth, regression test
Change-Id: Ia50c42bbd7614ea13c7dd90dcfc7224f4681f479
btif/src/btif_dm.c