summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/Workspace.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher2/Workspace.java')
-rw-r--r--src/com/android/launcher2/Workspace.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/com/android/launcher2/Workspace.java b/src/com/android/launcher2/Workspace.java
index 40751e2..bbcd0af 100644
--- a/src/com/android/launcher2/Workspace.java
+++ b/src/com/android/launcher2/Workspace.java
@@ -275,7 +275,9 @@ public class Workspace extends SmoothPagedView
@Override
public void onAnimationEndOrCancel(Animator animation) {
mIsInUnshrinkAnimation = false;
- mDrawCustomizeTrayBackground = false;
+ if (mShrinkState != ShrinkState.SPRING_LOADED) {
+ mDrawCustomizeTrayBackground = false;
+ }
}
};
mSnapVelocity = 600;
@@ -1316,7 +1318,9 @@ public class Workspace extends SmoothPagedView
}
}
- hideBackgroundGradient();
+ if (!springLoaded) {
+ hideBackgroundGradient();
+ }
}
/**