diff options
| author | Partha Sarathi Saha <partha-sarathi.saha@broadcom.com> | 2022-01-14 02:00:10 +0530 |
|---|---|---|
| committer | Chris Manton <cmanton@google.com> | 2022-01-26 23:03:19 +0000 |
| commit | f5718a49ec945ab489f3c9b7c58c0b10a2e5b3b0 (patch) | |
| tree | 02aa6dc19a284a9bbd270bfa085336007d7942eb /framework/java/android/bluetooth/BluetoothCodecConfig.java | |
| parent | 456916cde09a529fcb0f5ad06c1eb27f2e494e2e (diff) | |
Fix local disconnect reason code
For local disconnect of device, BTA_GATTC_CLOSE_EVT was sent
with reason code 0 rather than GATT_CONN_TERMINATE_LOCAL_HOST.
Fixed the issue by sending reason code
GATT_CONN_TERMINATE_LOCAL_HOST for local disconnect case.
Test: Verified local disconnect reason code is sent as
GATT_CONN_TERMINATE_LOCAL_HOST and not 0
Change-Id: I964dc7480dae4a0840450652992eaf48ca439e2f
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothCodecConfig.java')
0 files changed, 0 insertions, 0 deletions
