diff options
author | Scott Mertz <scott@cyngn.com> | 2016-06-03 14:24:28 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-06-06 11:51:09 -0700 |
commit | abf7e7d5b17e406663435be4f41705d9afd57259 (patch) | |
tree | 2984268249e1c973d2605908da6baf5a2d347579 /src/com | |
parent | 3b75ffff799f1d417db1385b80fb7a88212677c3 (diff) | |
download | android_packages_apps_Trebuchet-abf7e7d5b17e406663435be4f41705d9afd57259.tar.gz android_packages_apps_Trebuchet-abf7e7d5b17e406663435be4f41705d9afd57259.tar.bz2 android_packages_apps_Trebuchet-abf7e7d5b17e406663435be4f41705d9afd57259.zip |
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
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/launcher3/Workspace.java | 2 |
1 files changed, 2 insertions, 0 deletions
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() { |