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

Commit c87f198b authored by Mike Cleron's avatar Mike Cleron Committed by Android (Google) Code Review
Browse files

Merge "TextView not respecting "speak passwords" setting when adding before...

Merge "TextView not respecting "speak passwords" setting when adding before text to events." into jb-mr1-dev
parents 6c642089 72bba588
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();
            }