Preventing bg protection from changing while adding items via spring loading mechanism.
Change-Id: I57702eae45346e41026d60e2ae551f3df287b29f
This commit is contained in:
1 parent
d075e95435
commit
a58f8bb194
1 file changed
+6
-2
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user