Copy missing state in DrawableContainer
The copy constructor of DrawableContainerState was not properly copying all the state. This change adds the missing two fields that should be copied over. Change-Id: Ic92ba17ccf8fb3c8cbb5ead18690287da21c48a4
This commit is contained in:
@@ -491,6 +491,8 @@ public class DrawableContainer extends Drawable implements Drawable.Callback {
|
||||
mComputedConstantSize = orig.mComputedConstantSize;
|
||||
mConstantWidth = orig.mConstantWidth;
|
||||
mConstantHeight = orig.mConstantHeight;
|
||||
mConstantMinimumWidth = orig.mConstantMinimumWidth;
|
||||
mConstantMinimumHeight = orig.mConstantMinimumHeight;
|
||||
|
||||
mOpacity = orig.mOpacity;
|
||||
mHaveStateful = orig.mHaveStateful;
|
||||
|
||||
Reference in New Issue
Block a user