Merge "Removing dependency on wallpaper colors and using theme resources" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-04-28 03:00:17 +00:00
committed by Android (Google) Code Review
29 changed files with 82 additions and 1737 deletions

View File

@@ -162,7 +162,7 @@ public class WorkspaceStateTransitionAnimation {
propertySetter.setFloat(workspaceDragScrim, SCRIM_PROGRESS,
state.getWorkspaceBackgroundAlpha(mLauncher), LINEAR);
SysUiScrim sysUiScrim = mLauncher.getDragLayer().getSysUiScrim();
SysUiScrim sysUiScrim = mLauncher.getRootView().getSysUiScrim();
propertySetter.setFloat(sysUiScrim, SYSUI_PROGRESS,
state.hasFlag(FLAG_HAS_SYS_UI_SCRIM) ? 1 : 0, LINEAR);