mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 02:38:20 +00:00
Revert "Revert "Add UI updates for incremental app installs.""
This reverts commit 229497d182.
Reason for revert: Patching bugs
Fixes: 176901235, 176992421, 176884453
Test: manual
Change-Id: I57e13a15e72284564a10761966732ee31d15fd08
This commit is contained in:
@@ -34,6 +34,7 @@ import com.android.launcher3.model.data.ItemInfo;
|
||||
import com.android.launcher3.model.data.LauncherAppWidgetInfo;
|
||||
import com.android.launcher3.model.data.WorkspaceItemInfo;
|
||||
import com.android.launcher3.pm.InstallSessionHelper;
|
||||
import com.android.launcher3.pm.PackageInstallInfo;
|
||||
import com.android.launcher3.util.GridOccupancy;
|
||||
import com.android.launcher3.util.IntArray;
|
||||
import com.android.launcher3.util.PackageManagerHelper;
|
||||
@@ -132,7 +133,9 @@ public class AddWorkspaceItemsTask extends BaseModelUpdateTask {
|
||||
continue;
|
||||
}
|
||||
} else {
|
||||
workspaceInfo.setInstallProgress((int) sessionInfo.getProgress());
|
||||
workspaceInfo.setProgressLevel(
|
||||
(int) (sessionInfo.getProgress() * 100),
|
||||
PackageInstallInfo.STATUS_INSTALLING);
|
||||
}
|
||||
|
||||
if (hasActivity) {
|
||||
|
||||
Reference in New Issue
Block a user