1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-24 07:38:45 +02:00

do not recogize bip lite as bip

This commit is contained in:
Andreas Shimokawa 2019-10-10 21:21:19 +02:00
parent 8d27ad1996
commit 5c3c81fe6f

View File

@ -47,7 +47,7 @@ public class AmazfitBipCoordinator extends HuamiCoordinator {
try { try {
BluetoothDevice device = candidate.getDevice(); BluetoothDevice device = candidate.getDevice();
String name = device.getName(); String name = device.getName();
if (name != null && (name.equalsIgnoreCase("Amazfit Bip Watch") || name.equalsIgnoreCase("Amazfit Bip Lite"))) { if (name != null && (name.equalsIgnoreCase("Amazfit Bip Watch"))) {
return DeviceType.AMAZFITBIP; return DeviceType.AMAZFITBIP;
} }
} catch (Exception ex) { } catch (Exception ex) {