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

Commit fe00e51b authored by Myles Watson's avatar Myles Watson
Browse files

AdapterState: Set BLE start timeout to 4 seconds

Some devices need more than two seconds to initialize the
transport, download firmware, and update.

Bug: 79369424
Test: runtest bluetooth
Change-Id: Ib1d58a32f721b50385f0959f42e7829ef8c92454
parent 0bd8d9f3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ final class AdapterState extends StateMachine {
    static final int BLE_STOP_TIMEOUT = 11;
    static final int BLE_START_TIMEOUT = 12;

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