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:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user