Fixing bugs with new widget adding

-> widget ids were being reused in some cases
-> widgets could be added before springloaded mode was entered

Change-Id: Iaf3bffc49d4ec2de4b63db1b5cfb52b8544e9c2b
This commit is contained in:
Adam Cohen
2012-02-13 19:27:37 -08:00
parent ed66b2bac7
commit 1b36dc3f2b
4 changed files with 35 additions and 13 deletions
+1 -1
View File
@@ -1950,7 +1950,7 @@ public class Workspace extends SmoothPagedView
}
public boolean transitionStateShouldAllowDrop() {
return (!isSwitchingState() || mTransitionProgress > 0.5f);
return ((!isSwitchingState() || mTransitionProgress > 0.5f) && mState != State.SMALL);
}
/**