Fix divider hidden delay if quick swipe to home
We didn't handle such case if transient bar enable and divider is hidden by split side so it will have a delay. Catch up it on handleNormalGestureEnd if end target is home. Fix: 265755388 Test: manual Test: pass existing tests Change-Id: I09ac2a3a57c51473daf2b6887cd23bca505378f7
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user