summaryrefslogtreecommitdiffstats
path: root/src/com/android
diff options
context:
space:
mode:
authorScott Mertz <scott@cyngn.com>2016-06-03 14:24:28 -0700
committerTom Powell <zifnab@zifnab06.net>2017-03-26 16:23:05 -0700
commit22ccc1f8df151d1e44d643e7e6c821106557cc97 (patch)
treea73a19f721f6b524e6d4e27c367515e6b58c09fa /src/com/android
parent65b5178078ba85cd8b0d5c21bf94f0ddfda0bc59 (diff)
downloadandroid_packages_apps_Trebuchet-22ccc1f8df151d1e44d643e7e6c821106557cc97.tar.gz
android_packages_apps_Trebuchet-22ccc1f8df151d1e44d643e7e6c821106557cc97.tar.bz2
android_packages_apps_Trebuchet-22ccc1f8df151d1e44d643e7e6c821106557cc97.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/android')
-rw-r--r--src/com/android/launcher3/Workspace.java2
1 files changed, 2 insertions, 0 deletions
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() {