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

Commit ffea4157 authored by Aaron Liu's avatar Aaron Liu
Browse files

Do not make pin field highlightable.

When use a physical keyboard or even a a11y service, the textview for
the pin field can be highlighted. Set the property that makes the field
highlightable to false.

Fixes: 309964334
Test: Open pin bouncer with physical keyboard.
Test: Open pin bouncer with talkback.
Test: Open pin bouncer normally.
Flag: NONE

Change-Id: I634b06c0107f914558118de2aedd8baa9bae5637
parent 57ea0232
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -168,6 +168,7 @@ public abstract class KeyguardPinBasedInputView extends KeyguardAbsKeyInputView

        // Set selected property on so the view can send accessibility events.
        mPasswordEntry.setSelected(true);
        mPasswordEntry.setDefaultFocusHighlightEnabled(false);

        mOkButton = findViewById(R.id.key_enter);