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

Commit 96a496e4 authored by Himanshu Rawat's avatar Himanshu Rawat
Browse files

1 second may not be enough for pending ACLs to disconnected during stack...

1 second may not be enough for pending ACLs to disconnected during stack shutdown. Adapter state timeout results in state change in Bluetooth manager to STATE_OFF while the stack is still shutting down.

Bug: 208971312
Test: Manual
Change-Id: I723bb5dd7a1636d38bee580e33d3c321a8f6d9fe
parent 0b53f5e2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -78,7 +78,7 @@ final class AdapterState extends StateMachine {
            "ro.bluetooth.ble_stop_timeout_delay";

    static final int BLE_START_TIMEOUT_DELAY = 4000;
    static final int BLE_STOP_TIMEOUT_DELAY = 1000;
    static final int BLE_STOP_TIMEOUT_DELAY = 4000;
    static final int BREDR_START_TIMEOUT_DELAY = 4000;
    static final int BREDR_STOP_TIMEOUT_DELAY = 4000;