Merge "TextView's display list updated on layout"
This commit is contained in:
committed by
Android (Google) Code Review
commit
c6854d43fc
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user