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

Skip to content
Commit daef6cdf authored by Hsin-chen Chuang's avatar Hsin-chen Chuang
Browse files

Extend and randomize BTA_DM_SWITCH_DELAY_TIMER_MS

This delay was designed to prevent role switch conflicts with
authentication. However, these conflicts can still occur and cause
pairing failure, especially on some old ChromeOS devices (MVL8897).

Extend it to at least 1000ms and randomize it to further decrease the
conflict rate.

Bug: 364202070
Bug: 388459732
Test: mmm packages/modules/Bluetooth
Test: Tauto multi-device tests
Flag: com.android.bluetooth.flags.extend_and_randomize_role_switch_delay
Change-Id: Id2080099b06c91c8318982c5a9e8a3dba14c144b
parent 097d4a2a
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