diff --git a/app/src/main/java/foundation/e/blisslauncher/features/weather/WeatherUpdateService.java b/app/src/main/java/foundation/e/blisslauncher/features/weather/WeatherUpdateService.java index c88c7ca632d18d98170881b07659d19c09847195..77d98496e9e8c9a0d854629e46ffc3fe5d3b10a3 100644 --- a/app/src/main/java/foundation/e/blisslauncher/features/weather/WeatherUpdateService.java +++ b/app/src/main/java/foundation/e/blisslauncher/features/weather/WeatherUpdateService.java @@ -16,7 +16,7 @@ public class WeatherUpdateService extends Service { public static final String ACTION_FORCE_UPDATE = "org.indin.blisslauncher.action.FORCE_WEATHER_UPDATE"; public static final String ACTION_UPDATE_FINISHED = "org.indin.blisslauncher.action.WEATHER_UPDATE_FINISHED"; - private static final long UPDATE_PERIOD_IN_MS = 10L * 1000L; + private static final long UPDATE_PERIOD_IN_MS = 5L * 1000L; private HandlerThread mHandlerThread; private Handler mHandler; diff --git a/app/src/main/java/foundation/e/blisslauncher/features/weather/WeatherUpdater.java b/app/src/main/java/foundation/e/blisslauncher/features/weather/WeatherUpdater.java index ba0e02b6b758a11d0c81da7a169252d1b4859077..303aac6ae2b76067b46d64d30a719200b36be523 100644 --- a/app/src/main/java/foundation/e/blisslauncher/features/weather/WeatherUpdater.java +++ b/app/src/main/java/foundation/e/blisslauncher/features/weather/WeatherUpdater.java @@ -27,7 +27,7 @@ import lineageos.weather.WeatherLocation; public class WeatherUpdater { private static final String TAG = "WeatherUpdater"; - private static final long DEFAULT_FORCE_REQUEST_PERIOD_IN_MS = 60000L; + private static final long DEFAULT_FORCE_REQUEST_PERIOD_IN_MS = 10L * 1000L; private final LocationManager mLocationManager; private final WeakReference mWeakContext;