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

Amazfit Bip: Recogize Amazfit Bip Lite as Amazfit Bip

This commit is contained in:
Andreas Shimokawa 2019-09-20 21:51:04 +02:00
parent e5069c61e8
commit 814f322e2a

View File

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