From 3b25f57986628d881e64d085742d568070188890 Mon Sep 17 00:00:00 2001 From: Andreas Shimokawa Date: Tue, 18 Jan 2022 20:02:28 +0100 Subject: [PATCH] Revert "Add Support for Bip U series China Variant" This reverts commit 8e66ed4283003c3766b7dc29cd28df85bc471fc0. --- .../devices/huami/amazfitbipu/AmazfitBipUCoordinator.java | 2 +- .../devices/huami/amazfitbipupro/AmazfitBipUProCoordinator.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 e657dce04..bcd415b47 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 @@ -48,7 +48,7 @@ public class AmazfitBipUCoordinator extends HuamiCoordinator { try { BluetoothDevice device = candidate.getDevice(); String name = device.getName(); - if (name != null && (name.equalsIgnoreCase("Amazfit Bip U")||name.equalsIgnoreCase("Amazfit Pop"))) { + if (name != null && (name.equalsIgnoreCase("Amazfit Bip U"))) { return DeviceType.AMAZFITBIPU; } } catch (Exception ex) { 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 9a30043f2..543525414 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 @@ -48,7 +48,7 @@ public class AmazfitBipUProCoordinator extends HuamiCoordinator { try { BluetoothDevice device = candidate.getDevice(); String name = device.getName(); - if (name != null && (name.equalsIgnoreCase("Amazfit Bip U Pro")||name.equalsIgnoreCase("Amazfit Pop Pro"))) { + if (name != null && (name.equalsIgnoreCase("Amazfit Bip U Pro"))) { return DeviceType.AMAZFITBIPUPRO; } } catch (Exception ex) {