Merge "Fix divider hidden delay if quick swipe to home" into tm-qpr-dev

This commit is contained in:
Tony Huang
2023-02-01 03:31:00 +00:00
committed by Android (Google) Code Review

View File

@@ -1283,6 +1283,9 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
if (mRecentsAnimationController != null) {
mRecentsAnimationController.detachNavigationBarFromApp(true);
}
if (mIsTransientTaskbar) {
setDividerShown(false /* shown */, true /* immediate */);
}
} else if (endTarget == RECENTS) {
if (mRecentsView != null) {
int nearestPage = mRecentsView.getDestinationPage();