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 committed 2012-02-13 19:50:10 -08:00
1 parent ed66b2bac7
commit 1b36dc3f2b
4 files changed
+35 -13

No files matched your search

+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);
}
/**