Loading core/java/android/view/View.java +10 −2 Original line number Diff line number Diff line Loading @@ -7357,8 +7357,16 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility mPrivateFlags &= ~DRAWN; mPrivateFlags |= INVALIDATED; mPrivateFlags &= ~DRAWING_CACHE_VALID; if (mParent != null && mAttachInfo != null && mAttachInfo.mHardwareAccelerated) { if (mParent != null && mAttachInfo != null) { if (mAttachInfo.mHardwareAccelerated) { mParent.invalidateChild(this, null); } else { final Rect r = mAttachInfo.mTmpInvalRect; r.set(0, 0, mRight - mLeft, mBottom - mTop); // Don't call invalidate -- we don't want to internally scroll // our own bounds mParent.invalidateChild(this, r); } } } } Loading Loading
core/java/android/view/View.java +10 −2 Original line number Diff line number Diff line Loading @@ -7357,8 +7357,16 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility mPrivateFlags &= ~DRAWN; mPrivateFlags |= INVALIDATED; mPrivateFlags &= ~DRAWING_CACHE_VALID; if (mParent != null && mAttachInfo != null && mAttachInfo.mHardwareAccelerated) { if (mParent != null && mAttachInfo != null) { if (mAttachInfo.mHardwareAccelerated) { mParent.invalidateChild(this, null); } else { final Rect r = mAttachInfo.mTmpInvalRect; r.set(0, 0, mRight - mLeft, mBottom - mTop); // Don't call invalidate -- we don't want to internally scroll // our own bounds mParent.invalidateChild(this, r); } } } } Loading