Stop animating highlighted page border in spring-loaded mode.
It looked weird, because the scrim cutout happens immediately
and the border flickered into place shortly after.
Bug: 27135377
Change-Id: Iff861db73c438c7dabccd6ed7c4ee38dbeb77ea1
diff --git a/src/com/android/launcher3/CellLayout.java b/src/com/android/launcher3/CellLayout.java
index af37033..6426ec2 100644
--- a/src/com/android/launcher3/CellLayout.java
+++ b/src/com/android/launcher3/CellLayout.java
@@ -113,7 +113,8 @@
private float mBackgroundAlpha;
- private static final int BACKGROUND_ACTIVATE_DURATION = 120;
+ private static final int BACKGROUND_ACTIVATE_DURATION =
+ FeatureFlags.LAUNCHER3_LEGACY_WORKSPACE_DND ? 120 : 0;
private final TransitionDrawable mBackground;
// These values allow a fixed measurement to be set on the CellLayout.