Allapps motion changes for landscape

Scrim and Gradient alpha starting from 0

Change-Id: If200539f3915ff32885712cff868d74d014c340f
This commit is contained in:
Mario Bertschler
2017-05-24 10:30:13 -07:00
parent 2aab7dc0af
commit 1a83af2b81
3 changed files with 14 additions and 5 deletions
@@ -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