History log of /packages/apps/Contacts/tests/src/com/android/contacts/calllog/CallLogFragmentTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e0b2f1e2d01d1ac52ba207dc7ce76971d853298e 12-Jun-2012 Chiao Cheng <chiaocheng@google.com> Global import order fix.

Changed import order to be in accordance with style guide:
http://source.android.com/source/code-style.html#order-import-statements

Static imports will be placed at the top since most existing files used that
convention. It is also a style that can be handled by both eclipse and intellij.

Change-Id: Ia7013c7a2d88e5fefb8f4975d121f7fcd3fcc462
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/CallLogFragmentTest.java
4e1d78577124aac18735990694d976ee9d115b78 23-Nov-2011 Flavio Lerda <flerda@google.com> Correctly format numbers in RTL languages.

When phone numbers are formatted together with text in an RTL language,
the numbers will themselves formatted RTL by default: if they have any
formatting (e.g., +, -, (, ), or spaces), then these will not be
formatted correctly, as they should be shown LTR as a whole. This works
by itself if the number is the only thing shown in a text field (since
phone numbers are always made of characters that are entirely LTR), but
fails if the number is formatted within some translated text.

This commit forces the phone number to always be shown LTR.

Also, make it more explicit that the strict is meant to be used with a
number, since the description and xliff tag contradicted the name of the
string.

Bug: 5429886
Change-Id: Ifd1835ecfa89725ea596d02d9945712c4f351ddf
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/CallLogFragmentTest.java
c89565e1beec2ef986967a6330f1e7b0231a3c53 19-Nov-2011 Flavio Lerda <flerda@google.com> Store contact info using country iso as well.

Currently we are using just the number to store contact information that
we look-up. However, the look-up result depends also on the country in
which the call was placed or received.

This can lead to issues if the result is not the same depending on the
contact. This is particularly problematic in case of upgrades: the call
log will contain a number of entries without a country iso value since
the field was introduced after the Gingerbread release.

Use the country iso both when storing the contact in the in-memory
cache, as well as when updating the cache stored in the call log itself.

Bug: 5638376
Change-Id: I4c77556395147f05c2524d93cc1c800943395b6c
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/CallLogFragmentTest.java
1c6f3817e9e889664d143ed5ea5147aca595dd21 18-Oct-2011 Flavio Lerda <flerda@google.com> Remove CallLogActivity.

CallLogActivity was only used by tests. Instead, extend
FragmentTestActivity to handle loading of an arbitrary fragment into it,
so that we can test the CallLogFragment within it.

So far, FragmentTestActivity was only used with a UI-less fragment,
which therefore did not need a placeholder for the fragment.

Bug: 5286366
Change-Id: I939d6fb212621345b8a1ba4ec1a3b1c56909ce50
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/CallLogFragmentTest.java