From 50aacfed3ceb60997c2c9a4cc0f9e6fe6b5ed718 Mon Sep 17 00:00:00 2001
From: 陈奇 <1650699704@qq.com>
Date: Mon, 26 Nov 2018 15:17:11 +0800
Subject: [PATCH] [*]修改主页指针跳转动画

---
 FastBleLib/src/main/java/com/clj/fastble/bluetooth/BleBluetooth.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/FastBleLib/src/main/java/com/clj/fastble/bluetooth/BleBluetooth.java b/FastBleLib/src/main/java/com/clj/fastble/bluetooth/BleBluetooth.java
index a0abb9a..3e62bef 100644
--- a/FastBleLib/src/main/java/com/clj/fastble/bluetooth/BleBluetooth.java
+++ b/FastBleLib/src/main/java/com/clj/fastble/bluetooth/BleBluetooth.java
@@ -435,7 +435,6 @@
                 Map.Entry entry = (Map.Entry) iterator.next();
                 Object call = entry.getValue();
                 if (call instanceof BluetoothGattCallback) {
-                    gatt.requestMtu(64);
                     ((BluetoothGattCallback) call).onServicesDiscovered(gatt, status);
                 }
             }
@@ -476,6 +475,7 @@
                 Map.Entry entry = (Map.Entry) iterator.next();
                 Object call = entry.getValue();
                 if (call instanceof BluetoothGattCallback) {
+                    gatt.requestMtu(64);
                     ((BluetoothGattCallback) call).onCharacteristicChanged(gatt, characteristic);
                 }
             }

--
Gitblit v1.8.0