mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-01 06:22:55 +01:00
Try to enable Amazfit Cor 2 support but just using Amazfit Cor code.
Related to #1500
This commit is contained in:
parent
f01c9414f5
commit
86270c0592
@ -48,7 +48,7 @@ public class AmazfitCorCoordinator 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 Band") || name.equalsIgnoreCase("Amazfit Cor"))) {
|
if (name != null && (name.equalsIgnoreCase("Amazfit Band") || name.equalsIgnoreCase("Amazfit Cor") || name.equalsIgnoreCase("Amazfit Cor 2"))) {
|
||||||
return DeviceType.AMAZFITCOR;
|
return DeviceType.AMAZFITCOR;
|
||||||
}
|
}
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
|
Loading…
Reference in New Issue
Block a user