From cdc149338a409fa293379f671f1da59ea040c914 Mon Sep 17 00:00:00 2001 From: Andreas Shimokawa Date: Fri, 12 Jun 2020 22:49:16 +0200 Subject: [PATCH] Also use device alias if set in notification --- CHANGELOG.md | 1 + .../gadgetbridge/adapter/GBDeviceAdapterv2.java | 6 ++---- .../gadgetbridge/impl/GBDevice.java | 15 ++++++++++++--- .../freeyourgadget/gadgetbridge/util/GB.java | 2 +- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dece0ab41..d44980882 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ * Amazfit Bip S: remove disconnect notification and button action settings (they do not work) * Fossil Hybrid HR: Add last notification widget * Try to fix vanishing incoming call information when VoIP call support is enabled +* Allow setting device aliases (useful if you manage multiple ones of the same type) #### Version 0.44.1 * Amazfit Bip S: Support setting shortcuts diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/adapter/GBDeviceAdapterv2.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/adapter/GBDeviceAdapterv2.java index 61765c441..eed88b3e0 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/adapter/GBDeviceAdapterv2.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/adapter/GBDeviceAdapterv2.java @@ -612,10 +612,8 @@ public class GBDeviceAdapterv2 extends RecyclerView.Adapter