Track the install phase with INSTALLING/INSTALLED download states
A download row previously stopped at COMPLETED and never reflected whether the app actually installed. Add INSTALLING/INSTALLED states driven by a central installer-event observer in DownloadHelper: - COMPLETED -> INSTALLING on the installer's first progress event - -> INSTALLED on success (row kept so the APK can still be exported) - a failed install reverts INSTALLING -> COMPLETED so it can be re-installed without re-downloading Consumers that branched on COMPLETED are updated (App Details state, MicroG status mapping, Downloads list icon). downloadStatus is stored as TEXT so no schema migration is needed.
This commit is contained in:
@@ -520,6 +520,8 @@
|
||||
<string name="status_queued">Queued</string>
|
||||
<string name="status_unavailable">Unavailable</string>
|
||||
<string name="status_verifying">Verifying</string>
|
||||
<string name="status_installing">Installing</string>
|
||||
<string name="status_installed">Installed</string>
|
||||
|
||||
<!-- UnarchivePackageReceiver -->
|
||||
<string name="authentication_required_title">Authentication required</string>
|
||||
|
||||
Reference in New Issue
Block a user