OSDN Git Service

Reduce shutdown BTA_DM_DISABLE_TIMER_MS from 5000ms to 2000ms
authorChris Manton <cmanton@google.com>
Tue, 20 Jul 2021 15:32:48 +0000 (08:32 -0700)
committerJack He <siyuanh@google.com>
Wed, 28 Jul 2021 19:43:05 +0000 (19:43 +0000)
Bug: 192154257
Test: gd/cert/run
Tag: #refactor
Ignore-AOSP-First: Possible CP candidate

Change-Id: Ia916e427cb00e029ecb13a56255219fb2aba8500

bta/dm/bta_dm_act.cc

index 16890ee..8f9e26e 100644 (file)
@@ -124,7 +124,7 @@ static void bta_dm_ctrl_features_rd_cmpl_cback(tHCI_STATUS result);
 
 /* Disable timer interval (in milliseconds) */
 #ifndef BTA_DM_DISABLE_TIMER_MS
-#define BTA_DM_DISABLE_TIMER_MS 5000
+#define BTA_DM_DISABLE_TIMER_MS (2000)
 #endif
 
 /* Disable timer retrial interval (in milliseconds) */