Revert "Revert "Simplifying some page indicator dots attributes so that it can""

This reverts commit 0263a679f2.

Reason for revert: Trying again to confirm if this was the actual cause of regression

Change-Id: I2a663015d7ecdcf315634d8a976bf8294b58981d
This commit is contained in:
Sunny Goyal
2023-03-31 16:55:47 +00:00
parent 0263a679f2
commit 7025765c72
17 changed files with 255 additions and 176 deletions

View File

@@ -153,8 +153,8 @@ public class WorkspaceStateTransitionAnimation {
Interpolator workspaceFadeInterpolator = config.getInterpolator(ANIM_WORKSPACE_FADE,
pageAlphaProvider.interpolator);
float workspacePageIndicatorAlpha = (elements & WORKSPACE_PAGE_INDICATOR) != 0 ? 1 : 0;
propertySetter.setViewAlpha(mLauncher.getWorkspace().getPageIndicator(),
workspacePageIndicatorAlpha, workspaceFadeInterpolator);
mLauncher.getWorkspace().getPageIndicator().setAlpha(
propertySetter, workspacePageIndicatorAlpha, workspaceFadeInterpolator);
Interpolator hotseatFadeInterpolator = config.getInterpolator(ANIM_HOTSEAT_FADE,
workspaceFadeInterpolator);
float hotseatIconsAlpha = (elements & HOTSEAT_ICONS) != 0 ? 1 : 0;