diff options
author | 2012-04-05 14:56:57 -0700 | |
---|---|---|
committer | 2012-04-05 14:56:57 -0700 | |
commit | 26c80a1b9a103cdccbaeafac75a3db2543a9ee7e (patch) | |
tree | 66618c0f8dc2dfd021d31b0be3ffd54fea99d71d | |
parent | af7d86c5b8d5bcde804a5a033d4d401a76f1989c (diff) | |
download | latinime-26c80a1b9a103cdccbaeafac75a3db2543a9ee7e.tar.gz latinime-26c80a1b9a103cdccbaeafac75a3db2543a9ee7e.tar.xz latinime-26c80a1b9a103cdccbaeafac75a3db2543a9ee7e.zip |
Set view properties for Key node infos.
Bug: 6298716
Change-Id: Iae0616f0095d32e0ca61dcb55f2f84744e91f60e
-rw-r--r-- | java/src/com/android/inputmethod/accessibility/AccessibilityEntityProvider.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/accessibility/AccessibilityEntityProvider.java b/java/src/com/android/inputmethod/accessibility/AccessibilityEntityProvider.java index dd43166af..bb5890ad2 100644 --- a/java/src/com/android/inputmethod/accessibility/AccessibilityEntityProvider.java +++ b/java/src/com/android/inputmethod/accessibility/AccessibilityEntityProvider.java @@ -95,6 +95,7 @@ public class AccessibilityEntityProvider extends AccessibilityNodeProviderCompat event.setPackageName(mKeyboardView.getContext().getPackageName()); event.setClassName(key.getClass().getName()); event.getText().add(keyDescription); + event.setEnabled(true); final AccessibilityRecordCompat record = new AccessibilityRecordCompat(event); record.setSource(mKeyboardView, virtualViewId); @@ -171,6 +172,9 @@ public class AccessibilityEntityProvider extends AccessibilityNodeProviderCompat info.setSource(mKeyboardView, virtualViewId); info.setBoundsInScreen(boundsInScreen); info.setText(keyDescription); + info.setClickable(true); + info.setEnabled(true); + info.setLongClickable(true); } return info; |