summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/allapps
diff options
context:
space:
mode:
authorMario Bertschler <bmario@google.com>2017-05-24 10:30:13 -0700
committerMario Bertschler <bmario@google.com>2017-05-24 13:58:30 -0700
commit1a83af2b81a0dd6c3232dfbc55fa4a1076205b85 (patch)
treef23b28b84cf1bdca2ccd9e2a2fb86aba50bea25c /src/com/android/launcher3/allapps
parent2aab7dc0af0a734f9d985817973ec1ffe9b63cdc (diff)
downloadandroid_packages_apps_Trebuchet-1a83af2b81a0dd6c3232dfbc55fa4a1076205b85.tar.gz
android_packages_apps_Trebuchet-1a83af2b81a0dd6c3232dfbc55fa4a1076205b85.tar.bz2
android_packages_apps_Trebuchet-1a83af2b81a0dd6c3232dfbc55fa4a1076205b85.zip
Allapps motion changes for landscape
Scrim and Gradient alpha starting from 0 Change-Id: If200539f3915ff32885712cff868d74d014c340f
Diffstat (limited to 'src/com/android/launcher3/allapps')
-rw-r--r--src/com/android/launcher3/allapps/AllAppsTransitionController.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/launcher3/allapps/AllAppsTransitionController.java b/src/com/android/launcher3/allapps/AllAppsTransitionController.java
index dd0d23810..5182a5b43 100644
--- a/src/com/android/launcher3/allapps/AllAppsTransitionController.java
+++ b/src/com/android/launcher3/allapps/AllAppsTransitionController.java
@@ -276,7 +276,8 @@ public class AllAppsTransitionController implements TouchController, VerticalPul
private void updateLightStatusBar(float shift) {
// Do not modify status bar on landscape as all apps is not full bleed.
- if (mLauncher.getDeviceProfile().isVerticalBarLayout()) {
+ if (!FeatureFlags.LAUNCHER3_GRADIENT_ALL_APPS
+ && mLauncher.getDeviceProfile().isVerticalBarLayout()) {
return;
}
// Use a light status bar (dark icons) if all apps is behind at least half of the status