From 79d05488c341da2983802bf59fff1a330bad647c Mon Sep 17 00:00:00 2001 From: AdrianLxM Date: Wed, 27 Dec 2017 02:24:26 +0100 Subject: [PATCH 1/2] RS create bond --- .../plugins/PumpDanaRS/activities/BLEScanActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/activities/BLEScanActivity.java b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/activities/BLEScanActivity.java index 2a113b3c8d..319a64f713 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/activities/BLEScanActivity.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/activities/BLEScanActivity.java @@ -162,6 +162,7 @@ public class BLEScanActivity extends AppCompatActivity { public void onClick(View v) { SP.putString(R.string.key_danars_address, item.device.getAddress()); SP.putString(R.string.key_danars_name, mName.getText().toString()); + item.device.createBond(); MainApp.bus().post(new EventDanaRSDeviceChange()); finish(); } From 9387665df94e4fb350148a71e4d48383da351781 Mon Sep 17 00:00:00 2001 From: AdrianLxM Date: Wed, 27 Dec 2017 14:57:54 +0100 Subject: [PATCH 2/2] wear update --- wear/build.gradle | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wear/build.gradle b/wear/build.gradle index 8dd8ee73e1..682577fc8e 100644 --- a/wear/build.gradle +++ b/wear/build.gradle @@ -57,10 +57,11 @@ allprojects { dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') //compile 'com.ustwo.android:clockwise-wearable:1.0.2' - compile 'com.google.android.support:wearable:1.4.0' + provided 'com.google.android.wearable:wearable:2.0.1' + compile 'com.google.android.support:wearable:2.0.1' compile 'com.google.android.gms:play-services-wearable:7.3.0' compile files('libs/hellocharts-library-1.5.5.jar') compile(name:'ustwo-clockwise-debug', ext:'aar') compile 'com.android.support:support-v4:23.0.1' compile 'me.denley.wearpreferenceactivity:wearpreferenceactivity:0.5.0' -} \ No newline at end of file +}