Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a0362c7b authored by Mike Cleron's avatar Mike Cleron Committed by Android Git Automerger
Browse files

am c87f198b: Merge "TextView not respecting "speak passwords" setting when...

am c87f198b: Merge "TextView not respecting "speak passwords" setting when adding before text to events." into jb-mr1-dev

* commit 'c87f198b':
  TextView not respecting "speak passwords" setting when adding before text to events.
parents 851f2b0e c87f198b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -8780,8 +8780,8 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
                    + " before=" + before + " after=" + after + ": " + buffer);

            if (AccessibilityManager.getInstance(mContext).isEnabled()
                    && !isPasswordInputType(getInputType())
                    && !hasPasswordTransformationMethod()) {
                    && ((!isPasswordInputType(getInputType()) && !hasPasswordTransformationMethod())
                            || shouldSpeakPasswordsForAccessibility())) {
                mBeforeText = buffer.toString();
            }