Key the weather worker's location skip on the provider, not on a setting
typing.8 checked WeatherSettingsData.managedLocation, but that only exists once the user has explicitly picked "managed location" for the provider, so weatherProviderSettings stayed empty and the guard never fired: the worker kept requesting a location and retrying every 30s. The real signal is the provider's own capability. BreezyWeatherProvider.getWeatherData() is a hardcoded noop that also manages its own location, so add WeatherProvider.isPushBased and check that instead. Also stop treating a managed location as "pull nothing": those providers still have data to fetch, they just resolve the position themselves, so they now take the WeatherLocation path instead of the auto-location one. Bump to 1.40.2-typing.9 (versionCode 2026091202).
This commit is contained in:
@@ -34,8 +34,8 @@ android {
|
||||
applicationId = "de.mm20.launcher2"
|
||||
minSdk = libs.versions.minSdk.get().toInt()
|
||||
targetSdk = libs.versions.targetSdk.get().toInt()
|
||||
versionCode = System.getenv("VERSION_CODE_OVERRIDE")?.toIntOrNull() ?: 2026091201
|
||||
versionName = "1.40.2-typing.8"
|
||||
versionCode = System.getenv("VERSION_CODE_OVERRIDE")?.toIntOrNull() ?: 2026091202
|
||||
versionName = "1.40.2-typing.9"
|
||||
signingConfig = signingConfigs.getByName("debug")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user