diff options
author | Romain Guy <romainguy@android.com> | 2009-05-27 21:37:14 -0700 |
---|---|---|
committer | Romain Guy <romainguy@android.com> | 2009-05-27 21:37:14 -0700 |
commit | b0ded43d3844d9d97c5d554e8ca4ec3ee2c7bbe1 (patch) | |
tree | 77e5ba384b96967c578ec7d3728c84fefa6ed4f2 /core | |
parent | 401bbb0597a9f6bc9d752437e81f3f0c9b457b86 (diff) | |
download | frameworks_base-b0ded43d3844d9d97c5d554e8ca4ec3ee2c7bbe1.zip frameworks_base-b0ded43d3844d9d97c5d554e8ca4ec3ee2c7bbe1.tar.gz frameworks_base-b0ded43d3844d9d97c5d554e8ca4ec3ee2c7bbe1.tar.bz2 |
Uninstalls the gestures overlay when the letters recognizer cannot be loaded instead of simply dismissing the popup. This is cleaner and reuses the setGestures() method.
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/widget/AbsListView.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/java/android/widget/AbsListView.java b/core/java/android/widget/AbsListView.java index 3c827a0..20e2c46 100644 --- a/core/java/android/widget/AbsListView.java +++ b/core/java/android/widget/AbsListView.java @@ -3865,8 +3865,7 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te mRecognizer = LetterRecognizer.getLetterRecognizer(getContext(), LetterRecognizer.RECOGNIZER_LATIN_LOWERCASE); if (mRecognizer == null) { - dismissGesturesPopup(); - mGestures = GESTURES_NONE; + setGestures(GESTURES_NONE); } if (mGestures == GESTURES_FILTER) { mKeyMap = KeyCharacterMap.load(KeyCharacterMap.BUILT_IN_KEYBOARD); |