1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-03 11:33:19 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/model
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
..
AbstractNotificationPattern.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ActivityAmount.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ActivityAmounts.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ActivityKind.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ActivityPoint.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ActivitySample.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ActivitySession.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ActivitySummary.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ActivitySummaryEntries.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ActivitySummaryItems.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ActivitySummaryJsonSummary.java Sport Activity Summary: fix group order instability 2024-01-17 18:16:01 +00:00
ActivitySummaryParser.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ActivityTrack.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ActivityUser.java Set default year for date-of-birth to 1970 2024-01-17 20:16:38 +00:00
Alarm.java Add smart wakeup interval 2024-02-24 09:56:56 +01:00
AppNotificationType.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
BatteryConfig.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
BatteryState.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
CalendarEventSpec.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
CallSpec.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
CannedMessagesSpec.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
Contact.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
DailyTotals.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
DeviceService.java Device connection: removed references to ACTION_START 2024-03-05 00:11:32 +01:00
DeviceType.java Added scannable-only devices (#3621) 2024-03-28 21:07:05 +00:00
GenericItem.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
GPSCoordinate.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
HeartRateSample.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ItemWithDetails.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
Measurement.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
MusicSpec.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
MusicStateSpec.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
NavigationInfoSpec.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
NotificationSpec.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
NotificationType.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
PaiSample.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
RecordedDataTypes.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
Reminder.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
SleepRespiratoryRateSample.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
SleepState.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
Spo2Sample.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
StressSample.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
SummaryOfDay.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
TemperatureSample.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
TimeSample.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
TimeStamped.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ValidByDate.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
WearingState.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
Weather.java Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
WeatherSpec.java Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
WorldClock.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00