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

Change-Id: If293e615a3e7038668b3134f22694b576e809e55
This commit is contained in:
Evan Rosky
2020-03-20 18:27:21 +00:00
committed by Automerger Merge Worker
@@ -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);