Merge change 27349 into eclair
* changes: Fix 2143297: Fix transition from password -> visible password
This commit is contained in:
@@ -2884,6 +2884,9 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
|||||||
setTransformationMethod(PasswordTransformationMethod.getInstance());
|
setTransformationMethod(PasswordTransformationMethod.getInstance());
|
||||||
setTypefaceByIndex(MONOSPACE, 0);
|
setTypefaceByIndex(MONOSPACE, 0);
|
||||||
} else if (isVisiblePassword) {
|
} else if (isVisiblePassword) {
|
||||||
|
if (mTransformation == PasswordTransformationMethod.getInstance()) {
|
||||||
|
forceUpdate = true;
|
||||||
|
}
|
||||||
setTypefaceByIndex(MONOSPACE, 0);
|
setTypefaceByIndex(MONOSPACE, 0);
|
||||||
} else if (wasPassword || wasVisiblePassword) {
|
} else if (wasPassword || wasVisiblePassword) {
|
||||||
// not in password mode, clean up typeface and transformation
|
// not in password mode, clean up typeface and transformation
|
||||||
|
|||||||
Reference in New Issue
Block a user