Merge "Update window threshold in both directions" into rvc-dev am: 39cbf97f64 am: c0eb6269c6

Change-Id: I9efeb5bdcf7d4d6cfd0070a2de69f0f73b54b4ad
This commit is contained in:
Evan Rosky authored and Automerger Merge Worker committed 2020-03-20 18:27:37 +00:00
commit 2ddbe4c8af
1 file changed
+1 -1
@@ -588,7 +588,7 @@ public class LauncherSwipeHandler<T extends BaseDraggingActivity>
// We will handle the sysui flags based on the centermost task view.
if (mRecentsAnimationController != null) {
mRecentsAnimationController.setWindowThresholdCrossed(centermostTaskFlags != 0
|| useHomeScreenFlags);
&& useHomeScreenFlags);
}
int sysuiFlags = useHomeScreenFlags ? 0 : centermostTaskFlags;
mActivity.getSystemUiController().updateUiState(UI_STATE_OVERVIEW, sysuiFlags);