From fa3bdd36d5e30c0b2f6ee2712032ca2f9109e2f2 Mon Sep 17 00:00:00 2001 From: Andreas Shimokawa Date: Sun, 22 May 2022 00:27:35 +0200 Subject: [PATCH] Amazfit Bip U/Pro: enable hr alert and stress tracking setting --- .../devices/huami/amazfitband5/AmazfitBand5Coordinator.java | 2 +- .../devices/huami/amazfitbipu/AmazfitBipUCoordinator.java | 2 +- .../devices/huami/amazfitbipupro/AmazfitBipUProCoordinator.java | 2 +- .../gadgetbridge/devices/huami/miband5/MiBand5Coordinator.java | 2 +- .../gadgetbridge/devices/huami/miband6/MiBand6Coordinator.java | 2 +- ...=> devicesettings_heartrate_sleep_alert_activity_stress.xml} | 0 6 files changed, 5 insertions(+), 5 deletions(-) rename app/src/main/res/xml/{heartrate_sleep_alert_activity_stress.xml => devicesettings_heartrate_sleep_alert_activity_stress.xml} (100%) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/amazfitband5/AmazfitBand5Coordinator.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/amazfitband5/AmazfitBand5Coordinator.java index a0db606d4..763c166e7 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/amazfitband5/AmazfitBand5Coordinator.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/amazfitband5/AmazfitBand5Coordinator.java @@ -101,7 +101,7 @@ public class AmazfitBand5Coordinator extends HuamiCoordinator { R.xml.devicesettings_amazfitband5, R.xml.devicesettings_vibrationpatterns, R.xml.devicesettings_wearlocation, - R.xml.heartrate_sleep_alert_activity_stress, + R.xml.devicesettings_heartrate_sleep_alert_activity_stress, R.xml.devicesettings_goal_notification, R.xml.devicesettings_custom_emoji_font, R.xml.devicesettings_timeformat, diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/amazfitbipu/AmazfitBipUCoordinator.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/amazfitbipu/AmazfitBipUCoordinator.java index faa3dc412..7a9adbe0a 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/amazfitbipu/AmazfitBipUCoordinator.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/amazfitbipu/AmazfitBipUCoordinator.java @@ -112,7 +112,7 @@ public class AmazfitBipUCoordinator extends HuamiCoordinator { R.xml.devicesettings_timeformat, R.xml.devicesettings_world_clocks, R.xml.devicesettings_wearlocation, - R.xml.devicesettings_heartrate_sleep, + R.xml.devicesettings_heartrate_sleep_alert_activity_stress, R.xml.devicesettings_goal_notification, R.xml.devicesettings_custom_emoji_font, R.xml.devicesettings_liftwrist_display_sensitivity, diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/amazfitbipupro/AmazfitBipUProCoordinator.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/amazfitbipupro/AmazfitBipUProCoordinator.java index 6a090b402..9d1484233 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/amazfitbipupro/AmazfitBipUProCoordinator.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/amazfitbipupro/AmazfitBipUProCoordinator.java @@ -111,7 +111,7 @@ public class AmazfitBipUProCoordinator extends HuamiCoordinator { R.xml.devicesettings_timeformat, R.xml.devicesettings_world_clocks, R.xml.devicesettings_wearlocation, - R.xml.devicesettings_heartrate_sleep, + R.xml.devicesettings_heartrate_sleep_alert_activity_stress, R.xml.devicesettings_goal_notification, R.xml.devicesettings_custom_emoji_font, R.xml.devicesettings_liftwrist_display_sensitivity, diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/miband5/MiBand5Coordinator.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/miband5/MiBand5Coordinator.java index edf442680..0c40d3489 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/miband5/MiBand5Coordinator.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/miband5/MiBand5Coordinator.java @@ -106,7 +106,7 @@ public class MiBand5Coordinator extends HuamiCoordinator { R.xml.devicesettings_miband5, R.xml.devicesettings_vibrationpatterns, R.xml.devicesettings_wearlocation, - R.xml.heartrate_sleep_alert_activity_stress, + R.xml.devicesettings_heartrate_sleep_alert_activity_stress, R.xml.devicesettings_goal_notification, R.xml.devicesettings_custom_emoji_font, R.xml.devicesettings_timeformat, diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/miband6/MiBand6Coordinator.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/miband6/MiBand6Coordinator.java index 8b3e2ead4..26f7e703f 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/miband6/MiBand6Coordinator.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/miband6/MiBand6Coordinator.java @@ -86,7 +86,7 @@ public class MiBand6Coordinator extends HuamiCoordinator { R.xml.devicesettings_miband6, R.xml.devicesettings_vibrationpatterns, R.xml.devicesettings_wearlocation, - R.xml.heartrate_sleep_alert_activity_stress, + R.xml.devicesettings_heartrate_sleep_alert_activity_stress, R.xml.devicesettings_goal_notification, R.xml.devicesettings_custom_emoji_font, R.xml.devicesettings_timeformat, diff --git a/app/src/main/res/xml/heartrate_sleep_alert_activity_stress.xml b/app/src/main/res/xml/devicesettings_heartrate_sleep_alert_activity_stress.xml similarity index 100% rename from app/src/main/res/xml/heartrate_sleep_alert_activity_stress.xml rename to app/src/main/res/xml/devicesettings_heartrate_sleep_alert_activity_stress.xml