Merge "Update window threshold in both directions" into rvc-dev am: 39cbf97f64 am: c0eb6269c6 am: 2ddbe4c8af
Change-Id: I904a49d3149f6388a4906a853eb507eda5af6abb
This commit is contained in:
@@ -588,7 +588,7 @@ public class LauncherSwipeHandler<T extends BaseDraggingActivity>
|
|||||||
// We will handle the sysui flags based on the centermost task view.
|
// We will handle the sysui flags based on the centermost task view.
|
||||||
if (mRecentsAnimationController != null) {
|
if (mRecentsAnimationController != null) {
|
||||||
mRecentsAnimationController.setWindowThresholdCrossed(centermostTaskFlags != 0
|
mRecentsAnimationController.setWindowThresholdCrossed(centermostTaskFlags != 0
|
||||||
|| useHomeScreenFlags);
|
&& useHomeScreenFlags);
|
||||||
}
|
}
|
||||||
int sysuiFlags = useHomeScreenFlags ? 0 : centermostTaskFlags;
|
int sysuiFlags = useHomeScreenFlags ? 0 : centermostTaskFlags;
|
||||||
mActivity.getSystemUiController().updateUiState(UI_STATE_OVERVIEW, sysuiFlags);
|
mActivity.getSystemUiController().updateUiState(UI_STATE_OVERVIEW, sysuiFlags);
|
||||||
|
|||||||
Reference in New Issue
Block a user