UpdatesPreference: Allow to configure automated updates constraints

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2025-02-18 15:56:16 +08:00
parent 86d085fe55
commit 5c7289381f
9 changed files with 172 additions and 6 deletions

View File

@@ -495,4 +495,11 @@
<string name="toast_proxy_disabled">Proxy disabled successfully</string>
<string name="pref_network_proxy_desc">View and manage proxy configuration</string>
<string name="pref_network_proxy_url_hint" translatable="false">protocol://user:password@host:port</string>
<!-- UpdatesPreferences -->
<string name="pref_updates_restrictions_title">Automatic updates restrictions</string>
<string name="pref_updates_restrictions_desc">Configure device restrictions for automated updates.</string>
<string name="pref_updates_restrictions_metered">Only on unmetered networks</string>
<string name="pref_updates_restrictions_idle">When device is idle</string>
<string name="pref_updates_restrictions_battery">When battery is not low</string>
</resources>