From 7b7e58aea9d765b1d615dab657f1adfc262603a1 Mon Sep 17 00:00:00 2001 From: oliexdev Date: Tue, 27 Aug 2019 15:56:02 +0200 Subject: [PATCH] updated external library version --- android_app/app/build.gradle | 12 ++++++------ .../core/bluetooth/BluetoothCommunication.java | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/android_app/app/build.gradle b/android_app/app/build.gradle index 485fe30e..2081bfd1 100644 --- a/android_app/app/build.gradle +++ b/android_app/app/build.gradle @@ -59,7 +59,7 @@ android { } dependencies { - implementation 'com.google.android.material:material:1.1.0-alpha07' + implementation 'com.google.android.material:material:1.1.0-alpha09' implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.appcompat:appcompat:1.0.2' implementation 'androidx.recyclerview:recyclerview:1.0.0' @@ -68,19 +68,19 @@ dependencies { // Simple CSV implementation 'com.j256.simplecsv:simplecsv:2.3' // Blessed Android - implementation 'com.github.weliem:blessed-android:0.6' + implementation 'com.github.weliem:blessed-android:0.8' // CustomActivityOnCrash implementation 'cat.ereza:customactivityoncrash:2.2.0' // Room - implementation 'androidx.room:room-runtime:2.1.0-rc01' - annotationProcessor 'androidx.room:room-compiler:2.1.0-rc01' - androidTestImplementation 'androidx.room:room-testing:2.1.0-rc01' + implementation 'androidx.room:room-runtime:2.2.0-alpha02' + annotationProcessor 'androidx.room:room-compiler:2.2.0-alpha02' + androidTestImplementation 'androidx.room:room-testing:2.2.0-alpha02' // Timber implementation 'com.jakewharton.timber:timber:4.7.1' // Local unit tests testImplementation 'junit:junit:4.12' // Instrumented unit tests - androidTestImplementation 'androidx.annotation:annotation:1.0.2' + androidTestImplementation 'androidx.annotation:annotation:1.1.0' androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test:rules:1.2.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' diff --git a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothCommunication.java b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothCommunication.java index 82f731c7..21eb3be3 100644 --- a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothCommunication.java +++ b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothCommunication.java @@ -333,7 +333,7 @@ public abstract class BluetoothCommunication { } @Override - public void onCharacteristicUpdate(BluetoothPeripheral peripheral, byte[] value, BluetoothGattCharacteristic characteristic) { + public void onCharacteristicUpdate(final BluetoothPeripheral peripheral, byte[] value, final BluetoothGattCharacteristic characteristic, final int status) { resetDisconnectTimer(); onBluetoothNotify(characteristic.getUuid(), value); }