mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Garmin: fix usage of spurious static variable
This commit is contained in:
+1
-2
@@ -49,7 +49,6 @@ import nodomain.freeyourgadget.gadgetbridge.devices.garmin.GarminFitFileInstallH
|
|||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.GarminGpxRouteInstallHandler;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.GarminGpxRouteInstallHandler;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.GarminPreferences;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.GarminPreferences;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.GarminPrgFileInstallHandler;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.GarminPrgFileInstallHandler;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.huami.zeppos.ZeppOsGpxRouteInstallHandler;
|
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.vivomovehr.GarminCapability;
|
import nodomain.freeyourgadget.gadgetbridge.devices.vivomovehr.GarminCapability;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.entities.DaoSession;
|
import nodomain.freeyourgadget.gadgetbridge.entities.DaoSession;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.externalevents.gps.GBLocationService;
|
import nodomain.freeyourgadget.gadgetbridge.externalevents.gps.GBLocationService;
|
||||||
@@ -1099,7 +1098,7 @@ public class GarminSupport extends AbstractBTLESingleDeviceSupport implements IC
|
|||||||
|
|
||||||
final GarminGpxRouteInstallHandler garminGpxRouteInstallHandler = new GarminGpxRouteInstallHandler(uri, getContext());
|
final GarminGpxRouteInstallHandler garminGpxRouteInstallHandler = new GarminGpxRouteInstallHandler(uri, getContext());
|
||||||
if (garminGpxRouteInstallHandler.isValid()) {
|
if (garminGpxRouteInstallHandler.isValid()) {
|
||||||
final String trackName = options.getString(ZeppOsGpxRouteInstallHandler.EXTRA_TRACK_NAME);
|
final String trackName = options.getString(GarminGpxRouteInstallHandler.EXTRA_TRACK_NAME);
|
||||||
final GpxRouteFileConverter gpxRouteFileConverter = new GpxRouteFileConverter(
|
final GpxRouteFileConverter gpxRouteFileConverter = new GpxRouteFileConverter(
|
||||||
garminGpxRouteInstallHandler.getGpxFile(),
|
garminGpxRouteInstallHandler.getGpxFile(),
|
||||||
trackName
|
trackName
|
||||||
|
|||||||
Reference in New Issue
Block a user