diff options
| author | Jin Cao <jinyan@google.com> | 2014-11-06 18:40:27 -0800 |
|---|---|---|
| committer | Jin Cao <jinyan@google.com> | 2014-11-06 18:40:27 -0800 |
| commit | 49744b029d48dd9082bc02cb1c00dc34d1619c85 (patch) | |
| tree | 3af18eb1cbf59612f1d8b8d54a10c327304b34d0 | |
| parent | d525772ac3de152c946c2b7486ff759b8a45f9f2 (diff) | |
| download | android_frameworks_opt_chips-49744b029d48dd9082bc02cb1c00dc34d1619c85.tar.gz android_frameworks_opt_chips-49744b029d48dd9082bc02cb1c00dc34d1619c85.tar.bz2 android_frameworks_opt_chips-49744b029d48dd9082bc02cb1c00dc34d1619c85.zip | |
Make clearSelectedChip public
b/18218445
Change-Id: I56ba4367ce45cc4ce0ec934825fe021d60775c5e
| -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 4adaf7a..9409e57 100644 --- a/src/com/android/ex/chips/RecipientEditTextView.java +++ b/src/com/android/ex/chips/RecipientEditTextView.java @@ -1625,7 +1625,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; |
