From d411f6cd6b67b76db4d7a2bb883ea1711c294567 Mon Sep 17 00:00:00 2001 From: Matthew Ng Date: Wed, 26 Jul 2017 11:09:35 -0700 Subject: [PATCH] Adding back recents grow in split screen There was a regression where recents stopped growing when in split screen and bottom app has less height than top. Then when pressing recents button it would go into recents on bottom split and divider would move to the center. Test: manual - split with 2 apps, lower divider, press recents button Fixes: 62431729 Change-Id: I3cacb4e4bd38a17602415ebee4e24a517115bbdd --- .../src/com/android/systemui/stackdivider/DividerView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/stackdivider/DividerView.java b/packages/SystemUI/src/com/android/systemui/stackdivider/DividerView.java index 45835d51ff908..bf98a835f1048 100644 --- a/packages/SystemUI/src/com/android/systemui/stackdivider/DividerView.java +++ b/packages/SystemUI/src/com/android/systemui/stackdivider/DividerView.java @@ -596,7 +596,7 @@ public class DividerView extends FrameLayout implements OnTouchListener, Runnable endAction = () -> { commitSnapFlags(snapTarget); mWindowManagerProxy.setResizing(false); - mDockSide = WindowManager.DOCKED_INVALID; + updateDockSide(); mCurrentAnimator = null; mEntranceAnimationRunning = false; mExitAnimationRunning = false;