diff options
| author | Jin Cao <jinyan@google.com> | 2014-11-07 02:44:35 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-11-07 02:44:35 +0000 |
| commit | 662ccbe4c86f59c734d6e523760806bbd6d4fbcc (patch) | |
| tree | fdb95d609c262662da8529914f04d47b075ba4bd | |
| parent | 732fe3e7a78c23c17dab039b9b6540199a6352b7 (diff) | |
| parent | 49744b029d48dd9082bc02cb1c00dc34d1619c85 (diff) | |
| download | android_frameworks_opt_chips-662ccbe4c86f59c734d6e523760806bbd6d4fbcc.tar.gz android_frameworks_opt_chips-662ccbe4c86f59c734d6e523760806bbd6d4fbcc.tar.bz2 android_frameworks_opt_chips-662ccbe4c86f59c734d6e523760806bbd6d4fbcc.zip | |
Merge "Make clearSelectedChip public" into ub-chips-cranbrook
| -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 f00842b..b37aa37 100644 --- a/src/com/android/ex/chips/RecipientEditTextView.java +++ b/src/com/android/ex/chips/RecipientEditTextView.java @@ -1626,7 +1626,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; |
