Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 39d02130 authored by Bhakthavatsala Raghavendra's avatar Bhakthavatsala Raghavendra
Browse files

Do not push disconnect error code when socket is connected state

App error codes are mainly to send exceptions to applications when socket connection fails. Stack don't need to push these error codes when socket is already connected and l2cap connection is removed from remote.

Test: mmm packages/modules/Bluetooth
Test: Tested manually to ensure no unexpected data on socket read after disconnect
Flag: com.android.bluetooth.flags.donot_push_error_code_to_app_when_connected
Bug: 359992434
Bug: 365844219

Change-Id: I5a026fd01a998df74eea8b1700ed79bad45a9f29
parent 3f1c9a78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment