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

Commit 1d1e1105 authored by Svetoslav Ganov's avatar Svetoslav Ganov
Browse files

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

Change-Id: I70b29611d798df1da10e0e950154ef5f49aba7c5
parent 0dcea08a
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();