NetworkPreference: Make microG login configurable for users

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2025-02-11 13:15:47 +07:00
parent 1db64250d5
commit 40524c7379
5 changed files with 25 additions and 2 deletions

View File

@@ -489,4 +489,8 @@
<!-- AppsGamesFragment -->
<string name="installed_apps_size"><xliff:g id="installed_apps_size">%1$d</xliff:g> apps installed</string>
<!-- NetworkPreference -->
<string name="pref_network_microg_login_title">Use microG to sign-in to accounts</string>
<string name="pref_network_microg_login_desc">Authenticate using microG when signing into Google accounts for a simpler sign-in flow.</string>
</resources>

View File

@@ -44,6 +44,14 @@
app:singleLineTitle="false"
app:title="@string/pref_common_extra" />
<SwitchPreferenceCompat
app:defaultValue="true"
app:disableDependentsState="false"
app:iconSpaceReserved="false"
app:key="PREFERENCE_MICROG_AUTH"
app:summary="@string/pref_network_microg_login_desc"
app:title="@string/pref_network_microg_login_title" />
<com.aurora.store.view.custom.preference.AuroraListPreference
app:defaultValue="0"
app:entries="@array/pref_vending_version"