Revert "Add UI updates for incremental app installs."

This reverts commit 84269d349d.

Reason for revert: causes b/176884453 and b/176992421

Change-Id: I3398674a0acbad8329df5d341ae074ac073a6bf9
(cherry picked from commit 229497d182)
This commit is contained in:
Schneider Victor-tulias authored and android-build-team Robot committed 2021-01-08 03:45:09 +00:00
1 parent eede21e7c3
commit a994593bde
24 files changed
+163 -400

No files matched your search

@@ -117,8 +117,6 @@ public class PreloadIconDrawable extends FastBitmapDrawable {
mIndicatorColor = IconPalette.getPreloadProgressColor(context, mIconColor);
setInternalProgress(0);
setIsDisabled(!info.isAppStartable());
}
@Override
@@ -268,12 +266,14 @@ public class PreloadIconDrawable extends FastBitmapDrawable {
mIconScale = SMALL_SCALE;
mScaledTrackPath.reset();
mTrackAlpha = MAX_PAINT_ALPHA;
setIsDisabled(true);
}
if (progress < 1 && progress > 0) {
mPathMeasure.getSegment(0, progress * mTrackLength, mScaledProgressPath, true);
mIconScale = SMALL_SCALE;
mTrackAlpha = MAX_PAINT_ALPHA;
setIsDisabled(true);
} else if (progress >= 1) {
setIsDisabled(mItem.isDisabled());
mScaledTrackPath.set(mScaledProgressPath);