mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 04:46:51 +01:00
Garmin Vivoactive 3: Initial support
This commit is contained in:
parent
8253bd8635
commit
8672dcac3c
@ -0,0 +1,20 @@
|
||||
package nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivoactive;
|
||||
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import nodomain.freeyourgadget.gadgetbridge.R;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.GarminCoordinator;
|
||||
|
||||
public class GarminVivoActive3Coordinator extends GarminCoordinator {
|
||||
@Override
|
||||
protected Pattern getSupportedDeviceName() {
|
||||
// The report on matrix did not include a space, but let's make it
|
||||
// optional just in case
|
||||
return Pattern.compile("^vívoactive *3$");
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getDeviceNameResource() {
|
||||
return R.string.devicetype_garmin_vivoactive_3;
|
||||
}
|
||||
}
|
@ -73,6 +73,7 @@ import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu.GarminVe
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu.GarminVenu2PlusCoordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu.GarminVenu3Coordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu.GarminVenu3SCoordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivoactive.GarminVivoActive3Coordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivoactive.GarminVivoActive4Coordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivoactive.GarminVivoActive4SCoordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivoactive.GarminVivoActive5Coordinator;
|
||||
@ -383,6 +384,7 @@ public enum DeviceType {
|
||||
GARMIN_VENU_2_PLUS(GarminVenu2PlusCoordinator.class),
|
||||
GARMIN_VENU_3(GarminVenu3Coordinator.class),
|
||||
GARMIN_VENU_3S(GarminVenu3SCoordinator.class),
|
||||
GARMIN_VIVOACTIVE_3(GarminVivoActive3Coordinator.class),
|
||||
GARMIN_VIVOACTIVE_4(GarminVivoActive4Coordinator.class),
|
||||
GARMIN_VIVOACTIVE_4S(GarminVivoActive4SCoordinator.class),
|
||||
GARMIN_VIVOACTIVE_5(GarminVivoActive5Coordinator.class),
|
||||
|
@ -1520,6 +1520,7 @@
|
||||
<string name="devicetype_garmin_forerunner_255s">Garmin Forerunner 255S</string>
|
||||
<string name="devicetype_garmin_forerunner_265">Garmin Forerunner 265</string>
|
||||
<string name="devicetype_garmin_swim_2">Garmin Swim 2</string>
|
||||
<string name="devicetype_garmin_vivoactive_3">Garmin Vívoactive 3</string>
|
||||
<string name="devicetype_garmin_vivoactive_4">Garmin Vívoactive 4</string>
|
||||
<string name="devicetype_garmin_vivoactive_4s">Garmin Vívoactive 4S</string>
|
||||
<string name="devicetype_garmin_vivoactive_5">Garmin Vívoactive 5</string>
|
||||
|
Loading…
Reference in New Issue
Block a user