Merge "Update hint text color even when text present" into lmp-mr1-dev
This commit is contained in:
@@ -3634,9 +3634,11 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
|||||||
}
|
}
|
||||||
if (mHintTextColor != null) {
|
if (mHintTextColor != null) {
|
||||||
color = mHintTextColor.getColorForState(getDrawableState(), 0);
|
color = mHintTextColor.getColorForState(getDrawableState(), 0);
|
||||||
if (color != mCurHintTextColor && mText.length() == 0) {
|
if (color != mCurHintTextColor) {
|
||||||
mCurHintTextColor = color;
|
mCurHintTextColor = color;
|
||||||
inval = true;
|
if (mText.length() == 0) {
|
||||||
|
inval = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (inval) {
|
if (inval) {
|
||||||
|
|||||||
Reference in New Issue
Block a user