aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-09-24 14:56:37 +0900
committerTadashi G. Takaoka <takaoka@google.com>2014-10-14 01:40:27 +0000
commitae3ad8ebdd1a3239e17fd14e50a8e9670cb5b61a (patch)
treea7b4818eabf6caec501b8f943f329da78ea8bed8 /java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
parentd218ba4b518b38ee2ab144e16c9b60a91eacdf95 (diff)
downloadlatinime-ae3ad8ebdd1a3239e17fd14e50a8e9670cb5b61a.tar.gz
latinime-ae3ad8ebdd1a3239e17fd14e50a8e9670cb5b61a.tar.xz
latinime-ae3ad8ebdd1a3239e17fd14e50a8e9670cb5b61a.zip
(DO NOT MERGE) Fix checking a11y status just before calling an a11y method
Cherry picked from Master, commit 04cd8794e04b14c2b7e7eed036b83075792134a1 Bug: 17035860 Change-Id: I9627d525a570ced085281b4db93fe6896081e818
Diffstat (limited to 'java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java')
-rw-r--r--java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
index 33745a846..0fd5e139e 100644
--- a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
+++ b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
@@ -408,8 +408,8 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
// Decided to be in the sliding suggestion mode only when the touch point has been moved
// upward. Further {@link MotionEvent}s will be delivered to
// {@link #onTouchEvent(MotionEvent)}.
- mNeedsToTransformTouchEventToHoverEvent = AccessibilityUtils.getInstance()
- .isTouchExplorationEnabled();
+ mNeedsToTransformTouchEventToHoverEvent =
+ AccessibilityUtils.getInstance().isTouchExplorationEnabled();
mIsDispatchingHoverEventToMoreSuggestions = false;
return true;
}