UpdateWorker: Merge self-updates logic for non-fdroid builds

Treat Aurora Store as a normal app for non-fdroid builds and check
for its updates based on auto-update preference.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2024-03-01 20:21:37 +05:30
parent 3b9efeed11
commit 2f5d39106a
38 changed files with 121 additions and 257 deletions

View File

@@ -20,14 +20,6 @@
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<SwitchPreferenceCompat
app:defaultValue="false"
app:iconSpaceReserved="false"
app:key="PREFERENCE_SELF_UPDATE"
app:singleLineTitle="false"
app:summary="@string/pref_self_update_summary"
app:title="@string/pref_self_update_title" />
<SwitchPreferenceCompat
app:defaultValue="false"
app:iconSpaceReserved="false"