Updating the top scrim to also use dynamicaly generated bitmap

Bug: 237818532
Test: Verified on device
Flag: N/A
Change-Id: I22ceb470677ab9df53e40fb78f0292b7fd5e2241
This commit is contained in:
Sunny Goyal
2023-05-04 13:35:08 -07:00
parent 485cdbaf95
commit 3e596d3aa4
13 changed files with 79 additions and 122 deletions

View File

@@ -384,8 +384,8 @@ public abstract class AbstractStateChangeTouchController
} else {
logReachedState(targetState);
}
mLauncher.getRootView().getSysUiScrim().createSysuiMultiplierAnim(
1f).setDuration(0).start();
mLauncher.getRootView().getSysUiScrim().getSysUIMultiplier().animateToValue(1f)
.setDuration(0).start();
}
private void logReachedState(LauncherState targetState) {