Enable microG Installer and add microG installer prerequisite dialog

Partially addresses: #1485

Show the microG installer whenever the companion app is present instead
of relying on the misleading vending_apps_install metadata flag, and warn
users to enable it from microG settings before use. The dialog also offers
a shortcut to open microG settings.

microG only exposes the top-level settings activity; the App Installer
Settings screen is a Navigation fragment with no deep link, so the dialog
guides users through the remaining steps.
This commit is contained in:
Rahul Patel
2026-06-03 02:02:29 +05:30
parent f1c5a1deb8
commit fd350c739c
5 changed files with 120 additions and 4 deletions

View File

@@ -469,6 +469,9 @@
<string name="microg_removed_auth_warning">microG is no longer installed. Run setup again to keep things working smoothly.</string>
<string name="microg_installer_subtitle">Requires microG companion app to be installed</string>
<string name="microg_installer_desc">Helps you bypass App Integrity (installer only) check</string>
<string name="microg_installer_prerequisite_title" translatable="false">Enable microG installer</string>
<string name="microg_installer_prerequisite_desc" translatable="false">Before using the microG installer, please ensure you have enabled it.\n\nPlay Store services → ⋮ → App Installer Settings → Allow App Installation</string>
<string name="microg_installer_open_settings" translatable="false">Open microG settings</string>
<string name="am_installer_subtitle">Full-featured open source package manager</string>
<string name="am_installer_desc">Requires App Manager, need adb/root mode to install when miui optimization is on</string>
<string name="shizuku_installer_subtitle">Using system APIs directly with adb/root privileges</string>