mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-02-10 08:56:49 +01:00
Garmin Lily 2 Active: Initial support
This commit is contained in:
parent
fdea3b7955
commit
51fca72a43
@ -0,0 +1,18 @@
|
|||||||
|
package nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.lily;
|
||||||
|
|
||||||
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.R;
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.GarminCoordinator;
|
||||||
|
|
||||||
|
public class GarminLily2ActiveCoordinator extends GarminCoordinator {
|
||||||
|
@Override
|
||||||
|
protected Pattern getSupportedDeviceName() {
|
||||||
|
return Pattern.compile("^Lily 2 Active$");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getDeviceNameResource() {
|
||||||
|
return R.string.devicetype_garmin_lily_2_active;
|
||||||
|
}
|
||||||
|
}
|
@ -99,6 +99,7 @@ import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.Garm
|
|||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinctCrossoverCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinctCrossoverCoordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinctECoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinctECoordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinctSolarCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinctSolarCoordinator;
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.lily.GarminLily2ActiveCoordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.swim.GarminSwim2Coordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.swim.GarminSwim2Coordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu.GarminVenu2Coordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu.GarminVenu2Coordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu.GarminVenu2PlusCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu.GarminVenu2PlusCoordinator;
|
||||||
@ -492,6 +493,7 @@ public enum DeviceType {
|
|||||||
GARMIN_INSTINCT_2_SOLTAC(GarminInstinct2SolTacCoordinator.class),
|
GARMIN_INSTINCT_2_SOLTAC(GarminInstinct2SolTacCoordinator.class),
|
||||||
GARMIN_INSTINCT_CROSSOVER(GarminInstinctCrossoverCoordinator.class),
|
GARMIN_INSTINCT_CROSSOVER(GarminInstinctCrossoverCoordinator.class),
|
||||||
GARMIN_INSTINCT_E(GarminInstinctECoordinator.class),
|
GARMIN_INSTINCT_E(GarminInstinctECoordinator.class),
|
||||||
|
GARMIN_LILY_2_ACTIVE(GarminLily2ActiveCoordinator.class),
|
||||||
GARMIN_VIVOMOVE_STYLE(GarminVivomoveStyleCoordinator.class),
|
GARMIN_VIVOMOVE_STYLE(GarminVivomoveStyleCoordinator.class),
|
||||||
GARMIN_VIVOMOVE_TREND(GarminVivomoveTrendCoordinator.class),
|
GARMIN_VIVOMOVE_TREND(GarminVivomoveTrendCoordinator.class),
|
||||||
GARMIN_VENU(GarminVenuCoordinator.class),
|
GARMIN_VENU(GarminVenuCoordinator.class),
|
||||||
|
@ -1747,6 +1747,7 @@
|
|||||||
<string name="devicetype_amazfit_gts2e">Amazfit GTS 2e</string>
|
<string name="devicetype_amazfit_gts2e">Amazfit GTS 2e</string>
|
||||||
<string name="devicetype_amazfit_x">Amazfit X</string>
|
<string name="devicetype_amazfit_x">Amazfit X</string>
|
||||||
<string name="devicetype_zepp_e">Zepp E</string>
|
<string name="devicetype_zepp_e">Zepp E</string>
|
||||||
|
<string name="devicetype_garmin_lily_2_active">Garmin Lily 2 Active</string>
|
||||||
<string name="devicetype_garmin_vivomove_hr">Garmin Vívomove HR</string>
|
<string name="devicetype_garmin_vivomove_hr">Garmin Vívomove HR</string>
|
||||||
<string name="devicetype_garmin_vivomove_style">Garmin Vívomove Style</string>
|
<string name="devicetype_garmin_vivomove_style">Garmin Vívomove Style</string>
|
||||||
<string name="devicetype_garmin_vivomove_trend">Garmin Vívomove Trend</string>
|
<string name="devicetype_garmin_vivomove_trend">Garmin Vívomove Trend</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user