OSDN Git Service

Trim edit fields that don't contain printable values.
authorJeff Sharkey <jsharkey@android.com>
Thu, 8 Oct 2009 18:13:47 +0000 (11:13 -0700)
committerJeff Sharkey <jsharkey@android.com>
Thu, 8 Oct 2009 19:09:09 +0000 (12:09 -0700)
commite31dac84479a4c7b356edfc062a447cdfb5efc69
tree395512cbac918f916986796fed65d059c5a28cd2
parentb7da2d0f30e012f786686bedea065af01f20a4e2
Trim edit fields that don't contain printable values.

When persisting edit changes, trim data rows that have no
printable characters.  Also wrote unit tests for new method
and building of IM intents to check Uri escaping.

Fixes http://b/2173811
src/com/android/contacts/ContactsUtils.java
src/com/android/contacts/model/EntityModifier.java
src/com/android/contacts/ui/widget/GenericEditorView.java
tests/src/com/android/contacts/ContactsUtilsTests.java [new file with mode: 0644]
tests/src/com/android/contacts/EntityModifierTests.java
tests/src/com/android/contacts/EntitySetTests.java