Merge branch 'master' into secure_dfu
This commit is contained in:
commit
8dad65db9e
|
@ -41,7 +41,7 @@ ext {
|
|||
|
||||
android {
|
||||
compileSdkVersion 24
|
||||
buildToolsVersion '24.0.0'
|
||||
buildToolsVersion '24.0.2'
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 18
|
||||
|
@ -59,7 +59,7 @@ android {
|
|||
|
||||
dependencies {
|
||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
||||
compile 'com.android.support:support-v4:24.0.0'
|
||||
compile 'com.android.support:support-v4:24.2.0'
|
||||
compile 'com.google.code.gson:gson:2.5'
|
||||
}
|
||||
/*
|
||||
|
|
|
@ -908,6 +908,12 @@ public abstract class DfuBaseService extends IntentService implements DfuProgres
|
|||
report(ERROR_BLUETOOTH_DISABLED);
|
||||
return;
|
||||
}
|
||||
if (mConnectionState == STATE_DISCONNECTED) {
|
||||
loge("Device got disconnected before service discovery finished");
|
||||
sendLogBroadcast(LOG_LEVEL_INFO, "Disconnected");
|
||||
terminateConnection(gatt, ERROR_DEVICE_DISCONNECTED);
|
||||
return;
|
||||
}
|
||||
if (mError > 0) { // error occurred
|
||||
if ((mError & ERROR_CONNECTION_STATE_MASK) > 0) {
|
||||
final int error = mError & ~ERROR_CONNECTION_STATE_MASK;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#Thu Jun 30 16:41:24 CEST 2016
|
||||
#Thu Aug 18 10:00:25 CEST 2016
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
|
||||
|
|
Loading…
Reference in New Issue