Move the location updates to a foreground service and fix multiple bugs

This commit is contained in:
Tommaso Berlose
2021-01-03 17:23:22 +01:00
parent ebb37f21ed
commit 66d0214cd9
18 changed files with 169 additions and 47 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 674 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 796 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -13,6 +13,7 @@
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
app:cardCornerRadius="24dp"
app:strokeColor="@color/disabledButtonBackground"
app:cardElevation="0dp"
android:id="@+id/color"
app:cardBackgroundColor="@color/colorNightDark">

View File

@ -161,6 +161,12 @@
<string name="weather_select_a_provider">Select a provider</string>
<string name="weather_provider_activity_subtitle">Select a weather provider from the list.\nA few providers need a free personal account,\nbut they are usually more accurate.</string>
<string name="location_access_notification_channel_id" translatable="false">location-access</string>
<string name="location_access_notification_channel_name">Background service</string>
<string name="location_access_notification_channel_description">Service used to update the weather based on the current location of the user.</string>
<string name="location_access_notification_title">Weather update</string>
<string name="location_access_notification_subtitle">We\'re updating the weather based on your current location.</string>
<!-- Clock -->
<string name="settings_clock_title">Clock</string>
<string name="settings_clock_app_title">Tap on clock opens</string>