Skip to content

Commit 624ea44

Browse files
Mike CleronAndroid Git Automerger
authored andcommitted
am c87f198: Merge "TextView not respecting "speak passwords" setting when adding before text to events." into jb-mr1-dev
* commit 'c87f198b8cd3b3cb5b3daf63df419b9377b9c7b8': TextView not respecting "speak passwords" setting when adding before text to events.
2 parents 06da337 + c87f198 commit 624ea44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/java/android/widget/TextView.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8780,8 +8780,8 @@ public void beforeTextChanged(CharSequence buffer, int start,
87808780
+ " before=" + before + " after=" + after + ": " + buffer);
87818781

87828782
if (AccessibilityManager.getInstance(mContext).isEnabled()
8783-
&& !isPasswordInputType(getInputType())
8784-
&& !hasPasswordTransformationMethod()) {
8783+
&& ((!isPasswordInputType(getInputType()) && !hasPasswordTransformationMethod())
8784+
|| shouldSpeakPasswordsForAccessibility())) {
87858785
mBeforeText = buffer.toString();
87868786
}
87878787

0 commit comments

Comments
 (0)