diff options
author | 2014-09-24 14:56:37 +0900 | |
---|---|---|
committer | 2014-09-25 18:24:17 +0900 | |
commit | 04cd8794e04b14c2b7e7eed036b83075792134a1 (patch) | |
tree | 18ac717721814b49df27b896e9d17c37df8230c7 /java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java | |
parent | 951252bf478c924372397ecfc0fdf5a7d6445bff (diff) | |
download | latinime-04cd8794e04b14c2b7e7eed036b83075792134a1.tar.gz latinime-04cd8794e04b14c2b7e7eed036b83075792134a1.tar.xz latinime-04cd8794e04b14c2b7e7eed036b83075792134a1.zip |
Fix checking a11y status just before calling an a11y method
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.java | 4 |
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 43f6175ca..b421a7eb5 100644 --- a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java +++ b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java @@ -418,8 +418,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; } |