mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 12:56:49 +01:00
Amazfit Bip: Recogize Amazfit Bip Lite as Amazfit Bip
This commit is contained in:
parent
e5069c61e8
commit
814f322e2a
@ -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")) {
|
if (name != null && (name.equalsIgnoreCase("Amazfit Bip Watch") || name.equalsIgnoreCase("Amazfit Bip Lite"))) {
|
||||||
return DeviceType.AMAZFITBIP;
|
return DeviceType.AMAZFITBIP;
|
||||||
}
|
}
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
|
Loading…
Reference in New Issue
Block a user