Fix incorrect launcher loading.

Apps that were installed and downloading incrementally would be shown as fully downloaded on reboot. Updated LoaderTask and AppInfo.updateRuntimeFlagsForActivityTarget to account for this.

Fixes: 178528867

Test: manual with hardcoded values

Change-Id: I088e43ae886b4157bad9f4fa8d40373cf7f8235a
This commit is contained in:
Schneider Victor-tulias committed 2021-01-28 11:13:17 -08:00
1 parent 6d0d3b514a
commit 6d0fec8ac7
2 files changed
+9 -10

No files matched your search

@@ -179,7 +179,7 @@ public class AppInfo extends ItemInfoWithIcon {
// Sets the progress level, installation and incremental download flags.
info.setProgressLevel(
PackageManagerHelper.getLoadingProgress(lai),
PackageInstallInfo.STATUS_INSTALLED);
PackageInstallInfo.STATUS_INSTALLED_DOWNLOADING);
}
@Override