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