summaryrefslogtreecommitdiff
path: root/java/src/com/android/inputmethod/keyboard/internal/ModifierKeyState.java
diff options
context:
space:
mode:
authorryanlwlin <ryanlwlin@google.com>2019-09-17 20:42:45 +0800
committerMichael W <baddaemon87@gmail.com>2020-05-25 22:10:56 +0200
commite5da9acfe84142be87bcdb354afe7dab6b0d4e9c (patch)
tree751e60ed15cc332bed5d07f79efead680d3324ae /java/src/com/android/inputmethod/keyboard/internal/ModifierKeyState.java
parent030d52f5d0d4694af1e773499722496cf0b0d141 (diff)
Implement text entry key API for accessibility services in AOSP Keyboard
From Android Q, Talkback supports lift-to-type feature if the node claims it is a text entry key via setTextEntryKey(). We implement this API to show how this API is applied. This CL uses AccessibilityNodeInfoCompat instead of AccessibilityNodeInfo so that the same functionality can be used even on pre-Q devices when the AccessibilityService supports it. With that, this CL removes the legacy code of lift-to-type feature, which was implemented in the AOSP Keyboard side. Bug: 131644969 Test: manual - enable Talkback suporting lift-to-type,check Talback perform click action when finger is lifted. Change-Id: I1ec2928f5a9ba0bde999b09d4c0b9c922f179a2a
Diffstat (limited to 'java/src/com/android/inputmethod/keyboard/internal/ModifierKeyState.java')
0 files changed, 0 insertions, 0 deletions