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)
committerNikoli Cartagena <dargeren@google.com>
Mon, 10 Jun 2019 23:41:59 +0000 (16:41 -0700)
commit669c21e17874a11394668b2a927b04d03850d237
treead37f4eb9de38d831b6378c903f5dcfdafed7654
parent1a82722511bb60aa461678f93165c9552944448d
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
(cherry picked from commit 553eb90719404652046698c9191e995c86743129)
btif/src/btif_dm.c