summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Aaron Liu <aaronjli@google.com> 2023-08-04 11:22:33 -0700
committer Aaron Liu <aaronjli@google.com> 2023-08-04 12:21:11 -0700
commitc3564ab30b001280c669b0b7f4e09011c1179ea8 (patch)
treedde1e05a458e5481c4091557e6703239b948c298 /libs/input/PointerController.cpp
parent0f0a5bd651d6184ed6c45e1cd8069bb8f09559d1 (diff)
Do not setenabled to false for edittext.
calling #setEnabled(false) and #setEnabled(true) for some reason prevents the edit text from registering the backspace key. Also #setFocusable(boolean) also has the same behavior. By setting the cursor visibility, with the text input filter, we see the edit text but cannot add any characters into it and there is no cursor. There is a visual difference here as the old behavior would grey out the textview. Fixes: 288469866 Test: lockout with password security method. Type some stuff, exit bouncer and re-enter and type some stuff. Wait for lockout to finish and type stuff and then try to hit the backspace key. Change-Id: I5fa8e022a765c95e65c0342e68136e648d0e4ac0
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions