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

Commit 4354c4d6 authored by Phil Weaver's avatar Phil Weaver Committed by android-build-merger
Browse files

Merge "Hiding text from obscured text fields." into oc-dev am: bcc6cc84

am: 4a40d257

Change-Id: I14b6224fef4b428bc9c13517f4803704ad8d7765
parents ca9bb5bf 4a40d257
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -11838,7 +11838,8 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
                        + " before=" + before + " after=" + after + ": " + buffer);
            }

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