History log of /packages/apps/Contacts/tests/src/com/android/contacts/ContactsUtilsTests.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0a49afa2ad697307cc04ef4cb86570574fa720f2 06-Dec-2016 Gary Mai <garymai@google.com> Collapse common package (2/2)

Ran optimize imports on the project as well to re-order everything
which would have changed because of removing common.

Test: Built GoogleContacts, GoogleContactsTests, Contacts,
ContactsTests and ran unit tests.

Bug: 33252370
Change-Id: I881f0ba8b8fef002b6eeefa9a16b34f15b2fd2a9
/packages/apps/Contacts/tests/src/com/android/contacts/ContactsUtilsTests.java
cd321f65f1e50409812976380ad1f0fdb3fa35cb 28-Oct-2013 Yorke Lee <yorkelee@google.com> Move ContactLoader related code to ContactsCommon

This CL simply moves classes from Contacts into ContactsCommon.

This is needed so that Dialer can use ContactLoader related code
for b/11294679. A ContactLoader will also be needed in the future
to allow InCallUI to download hi-res photos while in call.
Bug: 11294679

Change-Id: Ia033f3ea2406a907a4e71290c9ce810a5583dab8
/packages/apps/Contacts/tests/src/com/android/contacts/ContactsUtilsTests.java
8c88c5c524090f101a9495b4ea5aaa6384abf88a 17-Apr-2013 Chiao Cheng <chiaocheng@google.com> Fixing unit tests and moving to proper location.

Bug: 8621998
Bug: 7519057
Change-Id: Id6ad4cdc87789d9966c5b9a5102964e5d5db5e41
/packages/apps/Contacts/tests/src/com/android/contacts/ContactsUtilsTests.java
ad29eae127034dbfd4aaf781a09ff08984b72b08 08-Jan-2013 Jay Shrauner <shrauner@google.com> Dedup NANPA numbers

Bug:7519057
Change-Id: Ia1b1e2632771f718b6e89f9d67834a7b646c45fa
/packages/apps/Contacts/tests/src/com/android/contacts/ContactsUtilsTests.java
d7ca03e23948c3b2d5f97ec5598d8b50e3fc0b25 25-Oct-2012 Chiao Cheng <chiaocheng@google.com> Move dependencies in prep for PhoneNumberInteraction move.

Committing this change first which is a pre-factor to moving
PhoneNumberInteraction into Dialer completely.

Bug: 6993891
Change-Id: I8a8f2d2d54b1aa8268e8ac9bd7d97d165a3e55c2
/packages/apps/Contacts/tests/src/com/android/contacts/ContactsUtilsTests.java
ac1bc8c58ba9d03ff5a24d1094f663042b7164d9 13-Apr-2012 Makoto Onuki <omakoto@google.com> Relax phone number collapser

The current collapser basically compares two phone numbers for equality
using their normalzied numbers, but this can cause an issue when you have a
readonly contact from a different country who has a local version of their
phone numer in their profile. Even if you have an international version
of their phone number, it may be overwritten on the contacts by the local
vesion.

So let's relax it.

The new collapser merges two numbers only if the "unformatted"
(i.e. ignoring all formatting characters) version of two phone numbers
are the same.

The following numbers will no longer be merged. (All assume the user
is in the US.)
- +81-45-381-0000 and 011-81-45-381-0000
- 1-555-123-4567 and 555-123-4567
- +1-555-123-4567 and 1-555-123-4567

But the following will.
- 555-123-4567 and 5551234567

This affects:
- Contact card
- Phone number disambiguation on the phone app
- Quick contact

The list view on the phone app won't be affected, as it's done in SQL, group-by.

Bug 5779336

Change-Id: I2d1f2fcf8a8d85207383cb05a86f66c17af8acfe
/packages/apps/Contacts/tests/src/com/android/contacts/ContactsUtilsTests.java
01a9fac7bd963d29c607cb17d579b68a71aa8854 16-Sep-2011 Dave Santoro <dsantoro@google.com> Fix phone number comparison in Phone Favorites.

This switches to using ContactsUtils.shouldCollapse for determining
whether we should combine the two numbers.

Bug 5294289

Change-Id: Id1ec369cfe698b52186ff392255d789458622e9d
/packages/apps/Contacts/tests/src/com/android/contacts/ContactsUtilsTests.java
dabe1234137b8edb472421d5afdc7b657f148142 07-Sep-2011 Daniel Lehmann <lehmannd@google.com> Fix the aggregation of exact matches where string equality is not given

Also added some more unit tests to make sure we are calling into the
library

Bug:5250277
Change-Id: I99ae7475ec08b10ed24f5184ca6f38884bc96dbc
/packages/apps/Contacts/tests/src/com/android/contacts/ContactsUtilsTests.java
dfe20250b9f3d2cf134ba2a8a97399322ad48010 05-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Adding proper chat capability icons to contact detail

Change-Id: I4d9e01e08a8d70bb6e1591f92436a5ab7c194be6
/packages/apps/Contacts/tests/src/com/android/contacts/ContactsUtilsTests.java
8fd7bb6815399b3eaa7e1fb5f12a3983d2ff1006 14-Aug-2010 Daniel Lehmann <lehmannd@google.com> Show commands for XMPP video chat for Google Talk

Change-Id: I8ff105ff42ffa89b81500f386db3279ffde5fe80
/packages/apps/Contacts/tests/src/com/android/contacts/ContactsUtilsTests.java
d8b0a05f88099a734b75ed6b4628660feb00445f 26-Mar-2010 Daniel Lehmann <lehmannd@google.com> Don't merge numbers if they only differ after a semicolon
Bug:2432347

Change-Id: Ie62f36a29ae76287265f5ec19fc5507c0d368adf
/packages/apps/Contacts/tests/src/com/android/contacts/ContactsUtilsTests.java
c710b0e7a7932288763d7e3d08a882ac188303a8 14-Oct-2009 Makoto Onuki <omakoto@google.com> Dedupe same entries in the fasttrack action list.

Fixes b/2159633.
/packages/apps/Contacts/tests/src/com/android/contacts/ContactsUtilsTests.java
e31dac84479a4c7b356edfc062a447cdfb5efc69 08-Oct-2009 Jeff Sharkey <jsharkey@android.com> 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
/packages/apps/Contacts/tests/src/com/android/contacts/ContactsUtilsTests.java