From ca7f30f7cfdbea155cbef701485718fa5dd86f46 Mon Sep 17 00:00:00 2001 From: Hyunyoung Song Date: Tue, 12 Jul 2016 11:14:41 -0700 Subject: Fix all apps becoming clipped when screen is rotated with all apps opened. b/30040068 Change-Id: I5e89a82310fddd5aa89a8f5d855b2efa526f8244 --- src/com/android/launcher3/allapps/AllAppsTransitionController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/com/android/launcher3/allapps/AllAppsTransitionController.java') diff --git a/src/com/android/launcher3/allapps/AllAppsTransitionController.java b/src/com/android/launcher3/allapps/AllAppsTransitionController.java index b42b762a7..028f06581 100644 --- a/src/com/android/launcher3/allapps/AllAppsTransitionController.java +++ b/src/com/android/launcher3/allapps/AllAppsTransitionController.java @@ -256,7 +256,7 @@ public class AllAppsTransitionController implements TouchController, VerticalPul } private void updateLightStatusBar(float progress) { - boolean enable = (progress < mStatusBarHeight / 2); + boolean enable = progress <= mStatusBarHeight / 2; // Do not modify status bar on landscape as all apps is not full bleed. if (mLauncher.getDeviceProfile().isVerticalBarLayout()) { return; @@ -404,7 +404,7 @@ public class AllAppsTransitionController implements TouchController, VerticalPul } } - private void finishPullUp() { + public void finishPullUp() { mHotseat.setVisibility(View.INVISIBLE); setProgress(0f); } -- cgit v1.2.3