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

Commit 7eea0f18 authored by Amith Yamasani's avatar Amith Yamasani Committed by Android (Google) Code Review
Browse files

Merge "3049240 TalkBack on Accessibility Options reads out passwords entered in during Lock screen"

parents 9b756acf 1d1e1105
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -6720,7 +6720,8 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
                    + " before=" + before + " after=" + after + ": " + buffer);

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

@@ -7599,7 +7600,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
            return false;
        }

        final boolean isPassword = isPasswordInputType(mInputType);
        final boolean isPassword = hasPasswordTransformationMethod();

        if (!isPassword) {
            CharSequence text = getText();