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

Change-Id: Ie7fb82c4def54620b2ca22714a7fa83a2afe515e
This commit is contained in:
Evan Rosky
2020-03-20 18:22:26 +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);