Always report visibility to new ImageView drawables am: 37b44dd592
am: a35c182637
Change-Id: Iff4507bf0607d33d9525c8695260f75b381a7ba8
This commit is contained in:
@@ -933,9 +933,8 @@ public class ImageView extends View {
|
||||
if (d.isStateful()) {
|
||||
d.setState(getDrawableState());
|
||||
}
|
||||
if (isAttachedToWindow()) {
|
||||
d.setVisible(getWindowVisibility() == VISIBLE && isShown(), true);
|
||||
}
|
||||
d.setVisible(isAttachedToWindow() && getWindowVisibility() == VISIBLE && isShown(),
|
||||
true);
|
||||
d.setLevel(mLevel);
|
||||
mDrawableWidth = d.getIntrinsicWidth();
|
||||
mDrawableHeight = d.getIntrinsicHeight();
|
||||
|
||||
Reference in New Issue
Block a user