mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 17:11:56 +01:00
huawei: Add gadget variant Huawei Watch GT3 SE
* added to GT3Coordinator
This commit is contained in:
parent
f6d9a87f95
commit
3c6f1191b5
@ -66,6 +66,7 @@ public final class HuaweiConstants {
|
||||
public static final String HU_BAND8_NAME = "huawei band 8-";
|
||||
public static final String HU_BAND9_NAME = "huawei band 9-";
|
||||
public static final String HU_WATCHGT3_NAME = "huawei watch gt 3-";
|
||||
public static final String HU_WATCHGT3SE_NAME = "huawei watch gt 3 se-";
|
||||
public static final String HU_WATCHGT3PRO_NAME = "huawei watch gt 3 pro-";
|
||||
public static final String HU_WATCHGTRUNNER_NAME = "huawei watch gt runner-";
|
||||
public static final String HU_WATCH3_NAME = "huawei watch 3-";
|
||||
|
@ -31,7 +31,7 @@ public class HuaweiWatchGT3Coordinator extends HuaweiBRCoordinator {
|
||||
|
||||
@Override
|
||||
protected Pattern getSupportedDeviceName() {
|
||||
return Pattern.compile("(" + HuaweiConstants.HU_WATCHGT3_NAME + "|" + HuaweiConstants.HU_WATCHGT3PRO_NAME + ").*", Pattern.CASE_INSENSITIVE);
|
||||
return Pattern.compile("(" + HuaweiConstants.HU_WATCHGT3_NAME + "|" + HuaweiConstants.HU_WATCHGT3PRO_NAME + "|" + HuaweiConstants.HU_WATCHGT3SE_NAME + ").*", Pattern.CASE_INSENSITIVE);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user