MTK修改蓝牙重连次数
比较简单
+++ b/alps/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/LocalBluetoothProfileManager.java
@@ -105,8 +105,8 @@ public class LocalBluetoothProfileManager {
///M: add for a2dp sink auto reconection because of the long distance disconnection. @{
private Timer mTimer;
private TimerTask mTimerTask;
- private static final int CONNECT_TIME_DELAY = 3000;
- private static final int MAX_CONNECT_COUNT = 20;
+ private static final int CONNECT_TIME_DELAY = 10000;
+ private static final int MAX_CONNECT_COUNT = 30;
private final int LONG_DISTANCE_DISCONNECTION = 8;
private int mConnectCount = 0;
private boolean mTimerScheduled = false;