cadc881ad8
Replaced google weather url with yandex
2023-03-24 10:50:32 +03:00
f25ce937ce
Fixed release linting errors by removing unused resources
2023-03-24 06:18:50 +03:00
564962dc9c
Removed google shit
2023-03-24 06:18:16 +03:00
azuo
f893748941
Prevent the time until the event from being split onto separate lines
v2.3.3-patch6
2023-03-01 16:19:18 +08:00
azuo
64ff404eac
Reset the next event only if necessary
v2.3.3-patch5
2022-02-20 18:27:28 +08:00
azuo
b95a9e8e7f
Keep the next event after updating the event list, if it still exists
2022-02-19 13:46:33 +08:00
azuo
1667d9c22c
Show the correct date for all-day events in the coming year
2021-12-29 23:45:32 +08:00
azuo
fb3f28d035
Make weather updates more reliable
v2.3.3-patch4
2021-10-15 14:42:38 +08:00
azuo
d8e204c5d9
Optimize background Workers, remove redundant JobServices
...
1. Adapt the location callback in WeatherWorker to coroutines
2. Merge EventListenerJob into UpdateCalendarWorker
3. Remove BatteryListenerJob, as it's impossible to use Jobs to detect battery status
2021-10-07 16:03:07 +08:00
azuo
388653f62b
Meet some mandatory requirements for migrating to Android 12
...
1. Replace foreground services with Workers
2. Support approximate location
3. Fallback to inexact alarms if the SCHEDULE_EXACT_ALARM permission is revoked
4. Specify the mutability of each PendingIntent
5. Explicitly declare the android:exported attribute for app components that use intent filters
2021-10-03 16:34:56 +08:00
azuo
5763a18421
Optimize notification handling, fix activity detection and greetings.
2021-10-01 17:05:43 +08:00
azuo
5dcf0afe02
Correct merge mistake: viewModel.showPreview.observe invoked twice
2021-09-30 22:06:38 +08:00
azuo
94b1eec757
Revert: Add ACCESS_BACKGROUND_LOCATION permission.
2021-09-30 20:06:14 +08:00
azuo
c5b41d0886
Merge branch 'develop' into patch-develop
2021-09-30 16:56:29 +08:00
Tommaso Berlose
4e5bf62e23
UI updates
2021-09-29 14:35:15 +02:00
azuo
77864cbef4
Suppress unused parameter warnings.
v2.3.3-patch3
2021-09-27 00:02:50 +08:00
azuo
32c580bac7
Merge branch 'patch-1' into patch-develop
2021-09-26 22:29:09 +08:00
azuo
85fa0cae11
Add weather providers HERE.com and AccuWeather.com; fix Weather.gov.
2021-09-26 22:28:06 +08:00
azuo
05f2a745c2
Merge branch 'patch-1' into patch-develop
...
# Conflicts:
# app/src/main/java/com/tommasoberlose/anotherwidget/helpers/WeatherHelper.kt
2021-09-25 11:34:02 +08:00
azuo
ef2e89b6ff
Correct weather info for weatherbit.io, weather.gov and yr.no.
2021-09-25 11:31:53 +08:00
azuo
a306d92282
Make text shadows more visible.
2021-09-25 11:08:10 +08:00
azuo
da9fc362af
Merge branch 'patch-3' into patch-develop
2021-09-24 10:45:07 +08:00
azuo
ff83cfd953
Update translation.
2021-09-24 10:44:05 +08:00
azuo
5d9dcd9701
Replace Realm with Room.
2021-09-23 00:23:42 +08:00
azuo
183901534c
Correct the widget layout.
...
Adjust the layout carefully, so that remote grid views perfectly overlap the bitmap generated from the binding view, whether left-aligned, right-aligned or centered, and regardless of the size of the widget, text, margins or spacing.
Display the clock in the correct text size.
v2.3.3-patch2
2021-09-17 12:01:41 +08:00
azuo
6d7d90e762
Correct the algorithm to check if to show weather as a glance provider.
v2.3.3-patch1
2021-09-14 13:49:52 +08:00
azuo
e89b377b68
Fix crash in MainFragment.updateUI() on some devices.
2021-09-14 13:48:23 +08:00
azuo
e0eb6f77da
Merge branch 'patch-4' into patch-develop
2021-09-14 13:40:14 +08:00
azuo
43c08204c3
Merge branch 'patch-3' into patch-develop
2021-09-14 13:39:59 +08:00
azuo
6f125573e0
Merge branch 'patch-2' into patch-develop
...
# Conflicts:
# app/src/main/java/com/tommasoberlose/anotherwidget/ui/widgets/AlignedWidget.kt
# app/src/main/java/com/tommasoberlose/anotherwidget/ui/widgets/StandardWidget.kt
2021-09-14 13:39:30 +08:00
azuo
380dc96c40
Merge branch 'patch-1' into patch-develop
2021-09-14 13:38:49 +08:00
azuo
821980e938
Use getBroadcast instead of getActivity for ACTION_REFRESH intents.
2021-09-13 23:34:54 +08:00
azuo
9f47d626a9
setExact is more reliable than setRepeating on some ROMs (e.g., MIUI).
2021-09-13 23:24:58 +08:00
azuo
d3b623cf13
Add ACCESS_BACKGROUND_LOCATION permission required by Android 11.
2021-09-13 19:28:47 +08:00
azuo
1389ddbfc0
Avoid the initial vertical position of BottomSheetDialogs being capped.
2021-09-13 11:55:29 +08:00
azuo
0dbbe0e5d2
Fix RenderScript leaks; set a reasonable default value for PREF_TEXT_CLOCK_SIZE.
2021-09-10 23:15:47 +08:00
azuo
818b4ec0ba
Avoid redundant updates.
2021-09-04 18:35:39 +08:00
azuo
8c84913cd8
Remove trailing semicolons in code.
2021-09-03 20:54:02 +08:00
azuo
43f085b13c
Remove extra spacing after event time when weather disabled.
2021-09-03 20:40:44 +08:00
azuo
3ab42fd163
Correct and improve calendar events updating algorithm.
...
1. UpdateCalendarService will fetch all events from now to the next fetch time + Preferences.showUntil, so that EventRepository holds all events need to be shown before the next fetch;
2. Every event is updated 1 minute after the corresponding time span, to make the actual time difference consistent with the displayed getRelativeTimeSpanString;
3. Update events only when necessary, eliminate redundant alarms; cancel all update alarms when showEvents is turned off.
2021-09-03 18:20:01 +08:00
azuo
ea0be72478
Do not schedule unnecessary ACTION_ALARM_UPDATE alarm.
2021-09-02 13:54:24 +08:00
Azuo
c744d3c7f8
Improve translation.
2021-08-19 11:31:24 +08:00
Azuo
7b93548b0b
Use any available Maps app, not just explicitly Google Maps.
2021-08-16 12:39:11 +08:00
Azuo
260e36b305
Show & hide all-day events at the right time.
2021-08-15 19:13:46 +08:00
Azuo
00af2159ea
Correct some translations.
2021-08-15 18:06:11 +08:00
Azuo
c26021de03
Fix #321 ; Update Simplified Chinese.
2021-08-14 00:55:37 +08:00
Azuo
218dae8cc2
When tapping the event time, it is more reasonable to open the calendar rather than the event details (tap the event title for the details).
2021-08-13 22:10:44 +08:00
Azuo
b3e2d8d843
Fix FontRequest thread leaks and UI bugs related to custom fonts.
2021-08-13 22:09:46 +08:00
Azuo
80d1077dab
Make LocationService work in case GMS is not available.
2021-08-12 14:12:30 +08:00
Tommaso Berlose
dd2a74aaf6
Close #310 , added weather as glance provider
2021-05-14 17:15:34 +02:00