diff options
author | Balakrishna Godavarthi <quic_bgodavar@quicinc.com> | 2022-02-25 11:58:46 +0530 |
---|---|---|
committer | Balakrishna Godavarthi <quic_bgodavar@quicinc.com> | 2022-02-25 12:28:26 +0530 |
commit | ee82458d27f1827e99b94014872b9eb938b3d084 (patch) | |
tree | 0f842f2ce2f166e26887b83a68d2167f0c638cd9 | |
parent | b942c1fda135b29dc8673c08024307eb8558684c (diff) |
Increase BREDR start and Stop Timeouts
This change increases BREDR_START_TIMEOUT and
BREDR_STOP_TIMEOUT from 4 seconds to 8 seconds as BLE
audio profiles are added.
Change-Id: I9fa1370293860eece942a5ed08ff44de6224da8a
-rw-r--r-- | src/com/android/bluetooth/btservice/AdapterState.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/bluetooth/btservice/AdapterState.java b/src/com/android/bluetooth/btservice/AdapterState.java index 69fc369cf..031d90530 100644 --- a/src/com/android/bluetooth/btservice/AdapterState.java +++ b/src/com/android/bluetooth/btservice/AdapterState.java @@ -91,8 +91,8 @@ final class AdapterState extends StateMachine { static final int BLE_START_XMEM_TIMEOUT_DELAY = 23000; static final int BLE_STOP_TIMEOUT_DELAY = 1000; - static final int BREDR_START_TIMEOUT_DELAY = 4000; - static final int BREDR_STOP_TIMEOUT_DELAY = 4000; + static final int BREDR_START_TIMEOUT_DELAY = 8000; + static final int BREDR_STOP_TIMEOUT_DELAY = 8000; static final int BREDR_CLEANUP_TIMEOUT_DELAY = 2000; static final int STACK_DISABLE_TIMEOUT_DELAY = 8000; static final int BT_FORCEKILL_TIMEOUT_DELAY = 100; |