Merge "TextView's display list updated on layout"

This commit is contained in:
Gilles Debunne
2012-01-25 14:07:08 -08:00
committed by Android (Google) Code Review

View File

@@ -6795,6 +6795,12 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
}
}
@Override
protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
super.onLayout(changed, left, top, right, bottom);
if (changed) mTextDisplayListIsValid = false;
}
/**
* Returns true if anything changed.
*/