From abf7e7d5b17e406663435be4f41705d9afd57259 Mon Sep 17 00:00:00 2001 From: Scott Mertz Date: Fri, 3 Jun 2016 14:24:28 -0700 Subject: Trebuchet: Never show page indicator in app drawer When rotation is enabled and we rotate the app launcher, we attempt to update the indicator alpha state before the view is attached. This results in the alpha state not applying to the indicator. Instead, always set the view to INVISIBLE when the app drawer is showing and the workspace is attached. FEIJ-998 Change-Id: Ia2691a12c2cc79ea76a7e91d7d13e94b97df09b5 --- src/com/android/launcher3/Workspace.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java index d5b6de064..20e05a119 100644 --- a/src/com/android/launcher3/Workspace.java +++ b/src/com/android/launcher3/Workspace.java @@ -1718,6 +1718,8 @@ public class Workspace extends PagedView mWindowToken = getWindowToken(); computeScroll(); mDragController.setWindowToken(mWindowToken); + if (mLauncher.isAppsViewVisible() && mPageIndicator != null) + mPageIndicator.setVisibility(INVISIBLE); } protected void onDetachedFromWindow() { -- cgit v1.2.3