updates: granular installer filters + advanced-section move

- New SourceFiltersScreen with All toggle + add/remove of specific
  installer package names. Backed by PREFERENCE_FILTER_INSTALLERS
  (Set<String>); PREFERENCE_FILTER_AURORA_ONLY preserved as the All
  switch for backward compat.
- UpdateWorker reads installer via getInstallSourceInfo (R+) / falls
  back to deprecated getInstallerPackageName below.
- UpdatesPreferenceScreen: "Filter F-Droid apps" moved to Advanced;
  "Filter apps from other sources" becomes a navigation row to the
  new sub-screen with a state summary.
This commit is contained in:
Rahul Patel
2026-05-19 11:49:51 +05:30
parent 106779737c
commit 8f0bf55714
9 changed files with 318 additions and 41 deletions

View File

@@ -226,10 +226,20 @@
<string name="pref_ui_no_for_you">"For you pages"</string>
<string name="pref_ui_no_for_you_desc">"Display For you pages on home screen"</string>
<string name="pref_ui_similar_apps">"Similar and related apps"</string>
<string name="pref_updates_incompatible">Show updates that may fail</string>
<string name="pref_updates_incompatible_desc">Display updates for incompatible or disabled apps that may fail to install</string>
<string name="pref_aurora_only">Filter apps from other sources</string>
<string name="pref_aurora_only_desc">Don\'t check for updates for apps installed from sources outside Aurora Store</string>
<string name="pref_updates_incompatible">"Show updates that may fail"</string>
<string name="pref_updates_incompatible_desc">"Display updates for incompatible or disabled apps that may fail to install."</string>
<string name="pref_aurora_only">"Filter apps from other sources."</string>
<string name="pref_aurora_only_desc">"Do not check for updates for apps installed from sources outside Aurora Store"</string>
<string name="pref_source_filters_title">"Filter apps from other sources"</string>
<string name="pref_source_filters_desc_all">"Skip every app not installed by Aurora Store"</string>
<string name="pref_source_filters_desc_none">"No installers excluded"</string>
<string name="pref_source_filters_desc_count">"%1$d installer(s) excluded"</string>
<string name="source_filters_all">"Filter all other installers"</string>
<string name="source_filters_installers_header">"Specific installers"</string>
<string name="source_filters_installers_empty">"No installers added yet"</string>
<string name="source_filters_add">"Add installer"</string>
<string name="source_filters_add_dialog_hint">"Enter package name"</string>
<string name="source_filters_remove">"Remove installer"</string>
<string name="purchase_failed">"Download failed"</string>
<string name="purchase_invalid">"App not purchased"</string>
<string name="purchase_unsupported">"App not supported"</string>