History log of /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/format/FormatUtilsTests.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bd80fd64b9ff94c9ffbdb843beb4b363bb209463 22-Dec-2012 Chiao Cheng <chiaocheng@google.com> Fixing missing punctuation for punctuation search case.

Previous CL I9cbdf10d21c79f53bc621bacb7eeeb95a6a2435f fixed missing
punctuation at the start when searching without punctuation. (e.g.
{hello})

This CL fixes the case where leading punctuation is missing if you searched
with a leading punctuation. (e.g. {'hello}). The content provider
uses a different code path when it detects multi-words and snippeting
is actually done in sqlite using the FTS snippet method. The check for
multi-word was treating {'hello} as two words.

This means that multi-word searches will still have this issue as it still
uses the sqlite snippet method. Leaving this to a separate CL since it's
a riskier change.

Bug: 5929143
Change-Id: I1883621bb64452726cd92035d30001c29b478574
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/format/FormatUtilsTests.java
a8feb7b88f2f67d8a80762dc54d336f1ea3a22d3 31-Oct-2012 Chiao Cheng <chiaocheng@google.com> Moving dependencies of PhoneFavoriteFragment.

Move common classes from Contacts to Contacts Common.

Bug: 6993891
Change-Id: Idd0b3115df810090340d1b10b04eb698d5facfb6
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/format/FormatUtilsTests.java