mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-05 09:47:01 +01:00
Add Garmin Instinct 2S Solar
This commit is contained in:
parent
9acdd87029
commit
b647c7ca48
@ -0,0 +1,18 @@
|
|||||||
|
package nodomain.freeyourgadget.gadgetbridge.devices.garmin.instinct2ssolar;
|
||||||
|
|
||||||
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.R;
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.GarminCoordinator;
|
||||||
|
|
||||||
|
public class GarminInstinct2SSolarCoordinator extends GarminCoordinator {
|
||||||
|
@Override
|
||||||
|
protected Pattern getSupportedDeviceName() {
|
||||||
|
return Pattern.compile("Instinct 2S Solar");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getDeviceNameResource() {
|
||||||
|
return R.string.devicetype_garmin_instinct_2s_solar;
|
||||||
|
}
|
||||||
|
}
|
@ -54,6 +54,7 @@ import nodomain.freeyourgadget.gadgetbridge.devices.garmin.forerunner245.GarminF
|
|||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.swim2.GarminSwim2Coordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.swim2.GarminSwim2Coordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.instinctsolar.GarminInstinctSolarCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.instinctsolar.GarminInstinctSolarCoordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.instinct2s.GarminInstinct2SCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.instinct2s.GarminInstinct2SCoordinator;
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.instinct2ssolar.GarminInstinct2SSolarCoordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.instinct2solar.GarminInstinct2SolarCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.instinct2solar.GarminInstinct2SolarCoordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.instinct2soltac.GarminInstinct2SolTacCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.instinct2soltac.GarminInstinct2SolTacCoordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.instinctcrossover.GarminInstinctCrossoverCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.instinctcrossover.GarminInstinctCrossoverCoordinator;
|
||||||
@ -347,6 +348,7 @@ public enum DeviceType {
|
|||||||
GARMIN_SWIM_2(GarminSwim2Coordinator.class),
|
GARMIN_SWIM_2(GarminSwim2Coordinator.class),
|
||||||
GARMIN_INSTINCT_SOLAR(GarminInstinctSolarCoordinator.class),
|
GARMIN_INSTINCT_SOLAR(GarminInstinctSolarCoordinator.class),
|
||||||
GARMIN_INSTINCT_2S(GarminInstinct2SCoordinator.class),
|
GARMIN_INSTINCT_2S(GarminInstinct2SCoordinator.class),
|
||||||
|
GARMIN_INSTINCT_2S_SOLAR(GarminInstinct2SSolarCoordinator.class),
|
||||||
GARMIN_INSTINCT_2_SOLAR(GarminInstinct2SolarCoordinator.class),
|
GARMIN_INSTINCT_2_SOLAR(GarminInstinct2SolarCoordinator.class),
|
||||||
GARMIN_INSTINCT_2_SOLTAC(GarminInstinct2SolTacCoordinator.class),
|
GARMIN_INSTINCT_2_SOLTAC(GarminInstinct2SolTacCoordinator.class),
|
||||||
GARMIN_INSTINCT_CROSSOVER(GarminInstinctCrossoverCoordinator.class),
|
GARMIN_INSTINCT_CROSSOVER(GarminInstinctCrossoverCoordinator.class),
|
||||||
|
@ -1497,6 +1497,7 @@
|
|||||||
<string name="devicetype_garmin_venu_3">Garmin Venu 3</string>
|
<string name="devicetype_garmin_venu_3">Garmin Venu 3</string>
|
||||||
<string name="devicetype_garmin_instinct_solar">Garmin Instinct Solar</string>
|
<string name="devicetype_garmin_instinct_solar">Garmin Instinct Solar</string>
|
||||||
<string name="devicetype_garmin_instinct_2s">Garmin Instinct 2S</string>
|
<string name="devicetype_garmin_instinct_2s">Garmin Instinct 2S</string>
|
||||||
|
<string name="devicetype_garmin_instinct_2s_solar">Garmin Instinct 2S Solar</string>
|
||||||
<string name="devicetype_garmin_instinct_2_solar">Garmin Instinct 2 Solar</string>
|
<string name="devicetype_garmin_instinct_2_solar">Garmin Instinct 2 Solar</string>
|
||||||
<string name="devicetype_garmin_instinct_2_soltac">Garmin Instinct 2 SolTac</string>
|
<string name="devicetype_garmin_instinct_2_soltac">Garmin Instinct 2 SolTac</string>
|
||||||
<string name="devicetype_garmin_instinct_crossover">Garmin Instinct Crossover</string>
|
<string name="devicetype_garmin_instinct_crossover">Garmin Instinct Crossover</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user