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

Commit 7a8ab9d8 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: I354361d390d173215658089883ac8af6c4dd1d82
parent 30142936
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ final class AdapterState extends StateMachine {
    static final int BLE_START_TIMEOUT = 12;

    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;