3ab9a63014a2d5e097d221b424d6d4809295abd0 |
|
27-Sep-2011 |
Makoto Onuki <omakoto@google.com> |
Remove extra line in status updates - Remove trailing newlines in status updates (i.e. reshared posts have HTML block quote tags which get turned into 2 new lines) Couldn't find a trim() utility method in Spanned, SpannableStringBuilder, TextUtils, or CharSequence - it only exists in String, but converting to a String would cause loss of span info. Instead, we iterate to look for new line characters manually. - Hide stream item text views if there is no text (i.e. prevent an extra new line when there is only an image and attribution) - Padding fix in contact editor Bug: 5279541 Change-Id: Ia1b77da74b18371b022d49720ab42a7b234ba331
/packages/apps/Contacts/tests/src/com/android/contacts/util/HtmlUtilsTest.java
|