aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2011-10-07 15:37:42 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-10-07 15:37:42 -0700
commit01f7ed359531d2a9461168052bf2b09fa24f253c (patch)
tree0cb1beaef68f3f083e78261b3f84841356a39e90 /java/src/com/android/inputmethod/latin
parent91b03b5bd77cb6f379f40dfb9a14654a893a8d78 (diff)
parent7c2d7ad6349eaf36312b69feb6efb6cd7201b0bc (diff)
downloadlatinime-01f7ed359531d2a9461168052bf2b09fa24f253c.tar.gz
latinime-01f7ed359531d2a9461168052bf2b09fa24f253c.tar.xz
latinime-01f7ed359531d2a9461168052bf2b09fa24f253c.zip
am 7c2d7ad6: Merge "Let accessibility users know to connect a headset when the IME connects to a password field."
* commit '7c2d7ad6349eaf36312b69feb6efb6cd7201b0bc': Let accessibility users know to connect a headset when the IME connects to a password field.
Diffstat (limited to 'java/src/com/android/inputmethod/latin')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 3b311377b..dfdb97b50 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -693,6 +693,12 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
return;
}
+ // Forward this event to the accessibility utilities, if enabled.
+ final AccessibilityUtils accessUtils = AccessibilityUtils.getInstance();
+ if (accessUtils.isTouchExplorationEnabled()) {
+ accessUtils.onStartInputViewInternal(attribute, restarting);
+ }
+
mSubtypeSwitcher.updateParametersOnStartInputView();
TextEntryState.reset();