Polish app open scrim animation.

We used to hide the scrim animation immediately, now we fade it out along with
the rest of the draglayer.

Also uses staggered workspace animation when resuming launcher from other
means ie. back gesture -> home

Bug: 145242991
Change-Id: Ib2161746f79ae5eaceac02d1416aa9bd7ecfeac4
This commit is contained in:
Jon Miranda
2020-03-19 11:58:58 -07:00
parent 02c4a73716
commit 42e7c503e1
2 changed files with 38 additions and 76 deletions
@@ -236,14 +236,6 @@ public class WorkspaceAndHotseatScrim extends Scrim {
}
}
public void hideSysUiScrim(boolean hideSysUiScrim) {
mHideSysUiScrim = hideSysUiScrim || (mTopScrim == null);
if (!hideSysUiScrim) {
mAnimateScrimOnNextDraw = true;
}
invalidate();
}
private void setSysUiProgress(float progress) {
if (progress != mSysUiProgress) {
mSysUiProgress = progress;