1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-20 20:10:15 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge
José Rebelo 81aef0bf35 Add support for multiple weather locations
Introduce the concept of primary and secondary weathers:

* Primary weather keeps the same behavior as previously across all weather providers, so it's non-breaking. This location is not necessarily the current location, just the primary weather location set by the user.
* The GenericWeatherReceiver now has a new extra WeatherSecondaryJson, that receives a json list with secondary weather locations.

It's guaranteed that the primary weather always exists, so the list of WeatherSpecs provided to devices is never empty. Update all support classes accordingly.
2024-03-29 21:10:40 +00:00
..
activities Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
adapter Added scannable-only devices (#3621) 2024-03-28 21:07:05 +00:00
capabilities Nothing CMF Watch Pro: Initial support 2024-01-28 18:46:13 +00:00
contentprovider Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
database Add smart wakeup interval 2024-02-24 09:56:56 +01:00
deviceevents Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
devices Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
entities Fossil/Skagen Hybrids: Use steps instead of calories for activity intensity 2024-02-23 20:54:49 +01:00
export Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
externalevents Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
impl Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
model Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
service Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
util BondingUtil: Fix linter 2024-03-25 20:38:18 +00:00
GBApplication.java TimeChangeReceiver: Ensure the alarm is set 2024-02-18 19:12:30 +00:00
GBEnvironment.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
GBException.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
LockHandler.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
Logging.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
LoggingExceptionHandler.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
SleepAlarmWidget.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
Widget.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00