Separate SDP procedure from bonding state (2/2)
- Do not stay in bonding state if the device is paired but still discovering service. - Report BOND_BONDED to Java after authentication is completed. - Report empty UUID to Java if a classic Bluetooth device SDP failed while pairing. - Hold BOND_BONDED intent util SDP is findished. - Only accept profile connection for the device is at bonded state. Any attempt to connect while bonding would potentially lead to an unauthorized connection. Bug: 79703832 Test: runtest bluetooth, regression test Change-Id: I141f7daf84e74f9d4e472206b7fe94319f544227
Loading
Please register or sign in to comment