Propagate first call to DrawableContainer.setAlpha() to children
BUG: 12530662 Change-Id: Idd972698d1a6805cb9f66ba4c2ddde97e1f8d2ca
This commit is contained in:
@@ -120,9 +120,8 @@ public class DrawableContainer extends Drawable implements Drawable.Callback {
|
||||
|
||||
@Override
|
||||
public void setAlpha(int alpha) {
|
||||
mHasAlpha = true;
|
||||
|
||||
if (mAlpha != alpha) {
|
||||
if (!mHasAlpha || mAlpha != alpha) {
|
||||
mHasAlpha = true;
|
||||
mAlpha = alpha;
|
||||
if (mCurrDrawable != null) {
|
||||
if (mEnterAnimationEnd == 0) {
|
||||
|
||||
Reference in New Issue
Block a user