mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-15 20:27:32 +01:00
Bangle.js: Inform user if GPS set to off in settings
This commit is contained in:
parent
71d058ec78
commit
88161bed91
@ -53,7 +53,7 @@ public class GBLocationManager {
|
||||
}
|
||||
|
||||
public static void start(final Context context, final EventHandler eventHandler, final LocationProviderType providerType, Integer updateInterval) {
|
||||
System.out.println("Starting");
|
||||
LOG.info("Starting");
|
||||
if (providers.containsKey(eventHandler) && providers.get(eventHandler).containsKey(providerType)) {
|
||||
LOG.warn("EventHandler already registered");
|
||||
return;
|
||||
|
@ -942,7 +942,7 @@ public class BangleJSDeviceSupport extends AbstractBTLEDeviceSupport {
|
||||
LOG.warn("NETWORK provider could not be started", e);
|
||||
}
|
||||
} else {
|
||||
LOG.debug("Phone gps data update is deactivated in the settings");
|
||||
GB.toast("Phone gps data update is deactivated in the settings", Toast.LENGTH_SHORT, GB.INFO);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user