diff options
author | Tom Taylor <tomtaylor@google.com> | 2013-04-15 10:37:16 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-04-15 10:37:16 -0700 |
commit | f823cf9a25b9010dbe3cb79ee188d6affec0e596 (patch) | |
tree | a2f26d751e9852a58da834e7238f4d0cd6601554 | |
parent | af7d2e85c72bebea248efd084f7f469206259d39 (diff) | |
parent | 49f52e22c9a56c79490f91a4cba54a0a515e6754 (diff) | |
download | android_frameworks_ex-f823cf9a25b9010dbe3cb79ee188d6affec0e596.tar.gz android_frameworks_ex-f823cf9a25b9010dbe3cb79ee188d6affec0e596.tar.bz2 android_frameworks_ex-f823cf9a25b9010dbe3cb79ee188d6affec0e596.zip |
am 49f52e22: Merge "Messaging crash on selecting a contact from the auto complete list in landscape mode" into jb-mr2-dev
* commit '49f52e22c9a56c79490f91a4cba54a0a515e6754':
Messaging crash on selecting a contact from the auto complete list in landscape mode
-rw-r--r-- | chips/src/com/android/ex/chips/RecipientEditTextView.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chips/src/com/android/ex/chips/RecipientEditTextView.java b/chips/src/com/android/ex/chips/RecipientEditTextView.java index bfa9b6e..8b6367f 100644 --- a/chips/src/com/android/ex/chips/RecipientEditTextView.java +++ b/chips/src/com/android/ex/chips/RecipientEditTextView.java @@ -1639,6 +1639,9 @@ public class RecipientEditTextView extends MultiAutoCompleteTextView implements */ @Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { + if (position < 0) { + return; + } submitItemAtPosition(position); } |