diff options
| author | Jin Cao <jinyan@google.com> | 2014-11-07 03:50:28 +0000 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2014-11-07 03:50:28 +0000 |
| commit | 6f673fc74c7ca3c964cd384bd596ae031dbd3e1c (patch) | |
| tree | 28af4aa387ff0809a72b08f92b1c92ab98939776 | |
| parent | d083f8656589bdfd7174749ed50cccdec425593b (diff) | |
| parent | 662ccbe4c86f59c734d6e523760806bbd6d4fbcc (diff) | |
| download | android_frameworks_opt_chips-6f673fc74c7ca3c964cd384bd596ae031dbd3e1c.tar.gz android_frameworks_opt_chips-6f673fc74c7ca3c964cd384bd596ae031dbd3e1c.tar.bz2 android_frameworks_opt_chips-6f673fc74c7ca3c964cd384bd596ae031dbd3e1c.zip | |
am 662ccbe4: Merge "Make clearSelectedChip public" into ub-chips-cranbrook
* commit '662ccbe4c86f59c734d6e523760806bbd6d4fbcc':
Make clearSelectedChip public
| -rw-r--r-- | src/com/android/ex/chips/RecipientEditTextView.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/android/ex/chips/RecipientEditTextView.java b/src/com/android/ex/chips/RecipientEditTextView.java index e89e029..c05da59 100644 --- a/src/com/android/ex/chips/RecipientEditTextView.java +++ b/src/com/android/ex/chips/RecipientEditTextView.java @@ -1624,7 +1624,11 @@ public class RecipientEditTextView extends MultiAutoCompleteTextView implements return false; } - private void clearSelectedChip() { + /** + * Clears the selected chip if there is one (and dismissing any popups related to the selected + * chip in the process). + */ + public void clearSelectedChip() { if (mSelectedChip != null) { unselectChip(mSelectedChip); mSelectedChip = null; |
