feature():1.取消要求java8进行编译 2.初始化的时候不启动蓝牙扫描使能
This commit is contained in:
parent
366b41d716
commit
a7a77d34a9
|
|
@ -65,10 +65,10 @@ android {
|
||||||
disable "GradleCompatible"
|
disable "GradleCompatible"
|
||||||
}
|
}
|
||||||
|
|
||||||
compileOptions {
|
// compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
// sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
// targetCompatibility JavaVersion.VERSION_1_8
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
|
|
||||||
|
|
@ -443,11 +443,11 @@ public class BleDeviceManager {
|
||||||
|
|
||||||
// mDiscoverListener = discoverListener;
|
// mDiscoverListener = discoverListener;
|
||||||
|
|
||||||
if (mClassicDeviceManager != null) {
|
// if (mClassicDeviceManager != null) {
|
||||||
mClassicDeviceManager.stopScan();
|
// mClassicDeviceManager.stopScan();
|
||||||
}
|
// }
|
||||||
|
|
||||||
mBleScanEnable = true;
|
mBleScanEnable = false;
|
||||||
if (mHeartTimer != null) {
|
if (mHeartTimer != null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue