Implement automated updates check
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -355,4 +355,13 @@
|
||||
<string name="requesting_new_session">Requesting new session</string>
|
||||
<string name="server_maintenance">Server down for maintenance</string>
|
||||
<string name="downloading_dep">Downloading additional files for <xliff:g id="app">%1$s</xliff:g></string>
|
||||
<string name="notification_channel_updates">Updates notifications</string>
|
||||
<string name="notification_updates_available"><xliff:g id="apps_count">%1$d</xliff:g> updates available</string>
|
||||
<string name="notification_updates_available_desc_1">A new version of <xliff:g id="app_one_name">%1$s</xliff:g> is available</string>
|
||||
<string name="notification_updates_available_desc_2"><xliff:g id="app_one_name">%1$s</xliff:g> and <xliff:g id="app_two_name">%2$s</xliff:g></string>
|
||||
<string name="notification_updates_available_desc_3"><xliff:g id="app_one_name">%1$s</xliff:g>, <xliff:g id="app_two_name">%2$s</xliff:g> and <xliff:g id="app_three_name">%3$s</xliff:g></string>
|
||||
<string name="notification_updates_available_desc_4"><xliff:g id="app_one_name">%1$s</xliff:g>, <xliff:g id="app_two_name">%2$s</xliff:g>, <xliff:g id="app_three_name">%3$s</xliff:g> and <xliff:g id="apps_count">%4$d</xliff:g> more</string>
|
||||
<string name="checking_for_updates">Checking for updates</string>
|
||||
<string name="pref_updates_check">Automated updates check</string>
|
||||
<string name="pref_updates_check_desc">Automatically check & notify for new app updates periodically</string>
|
||||
</resources>
|
||||
|
||||
@@ -27,4 +27,11 @@
|
||||
app:summary="@string/pref_updates_extended_desc"
|
||||
app:title="@string/pref_updates_extended" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="true"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="PREFERENCE_UPDATES_CHECK"
|
||||
app:summary="@string/pref_updates_check_desc"
|
||||
app:title="@string/pref_updates_check" />
|
||||
|
||||
</androidx.preference.PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user