OSDN Git Service

DO NOT MERGE Separate SDP procedure from bonding state (1/2)
authorUgo Yu <ugoyu@google.com>
Thu, 23 May 2019 11:54:41 +0000 (19:54 +0800)
committerUgo Yu <ugoyu@google.com>
Wed, 5 Jun 2019 02:12:24 +0000 (02:12 +0000)
commit5240e718810550289c6cbb78eed44dfd28ef8066
tree7fd04487666b09de771e5b91621b8bc6303189e4
parent3bf41c03e0476257b9ce5932f2fa1f23afcb48fc
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: I60d8883e6d095b440cce49686a2049c8b5660235
Merged-In: I8a98ba2178039e25c65fc701855066a8788312e6
btif/src/btif_dm.cc