am fedb3269: Merge change 27349 into eclair
Merge commit 'fedb32696ace93afeefa216b2a5e90b2793ec85f' into eclair-plus-aosp * commit 'fedb32696ace93afeefa216b2a5e90b2793ec85f': 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());
|
||||
setTypefaceByIndex(MONOSPACE, 0);
|
||||
} else if (isVisiblePassword) {
|
||||
if (mTransformation == PasswordTransformationMethod.getInstance()) {
|
||||
forceUpdate = true;
|
||||
}
|
||||
setTypefaceByIndex(MONOSPACE, 0);
|
||||
} else if (wasPassword || wasVisiblePassword) {
|
||||
// not in password mode, clean up typeface and transformation
|
||||
|
||||
Reference in New Issue
Block a user