From 22ccc1f8df151d1e44d643e7e6c821106557cc97 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(+) diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java index 9a4bab215..90b32797b 100644 --- a/src/com/android/launcher3/Workspace.java +++ b/src/com/android/launcher3/Workspace.java @@ -1707,6 +1707,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