diff options
| author | Andrew Cheng <chengandrew@google.com> | 2021-01-14 16:21:48 -0800 |
|---|---|---|
| committer | Andrew Cheng <chengca@google.com> | 2021-02-20 05:50:03 +0000 |
| commit | 8ab39e54b5bcde03c762e7af325645da2a2d5652 (patch) | |
| tree | e7246cc61876efaf390e83e4ae211050c6491b38 /framework/java/android/bluetooth/BluetoothMapClient.java | |
| parent | bec67a5c678926b62fd1337316027e2fd0ff854f (diff) | |
Surface ACL disconnect reasons from native to Java
HCI disconnect commands and events have an accompanying "reason"
parameter comprising of a HCI error code. This can be useful in both
debugging and re-connection logic at the Java level.
This CL grabs the HCI codes from native and passes it up to Java via an
extra parameter to existing ACL connection callbacks.
Tag: #feature
Bug: 177668957
Test: atest BluetoothInstrumentationTests
Change-Id: Ic729140b8ffb1273a9ca53cdfd39c9f5d71e1522
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothMapClient.java')
0 files changed, 0 insertions, 0 deletions
