am 215b1c80: The "original text" is just what we are putting in the text view, which is displaytext
* commit '215b1c80111ccc8d42256fa8f38f3d00e0171cf2':
The "original text" is just what we are putting in the text view, which is displaytext
diff --git a/chips/src/com/android/ex/chips/RecipientEditTextView.java b/chips/src/com/android/ex/chips/RecipientEditTextView.java
index 6914ad1..013a238 100644
--- a/chips/src/com/android/ex/chips/RecipientEditTextView.java
+++ b/chips/src/com/android/ex/chips/RecipientEditTextView.java
@@ -2379,7 +2379,7 @@
displayText.setSpan(replacement, 0, displayText.length(),
Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
text.replace(start, end, displayText);
- replacement.setOriginalText(text.toString().substring(start, end));
+ replacement.setOriginalText(displayText.toString());
}
i++;
}