History log of /packages/apps/Contacts/tests/src/com/android/contacts/editor/EditorUiUtilsTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4bd50d69d2b8934dbd4cbd634ad83807d9b02735 16-Dec-2016 Marcus Hagerott <mhagerott@google.com> Use loader for accounts in editor fragment

Test: manually remove selected account in editor and verify that
it changes to the first account in list

Bug: 33627801

Change-Id: I6554f03c207fb761f7b8d971e0f07f7416efcd72
/packages/apps/Contacts/tests/src/com/android/contacts/editor/EditorUiUtilsTest.java
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/editor/EditorUiUtilsTest.java
69c182afb0e6d82a341a28b4317aa703af768906 05-Dec-2016 Gary Mai <garymai@google.com> Collapse common packages (1/?)

Move the majority of packages out of common. When trying to move
common.activity to activities every file switched from a rename to
separated deletes and adds. Will move tests and the rest of common
in a separate CL.

Test: Built GoogleContacts, Contacts, GoogleContactsTests,
ContactsTests.

Bug: 33252370
Change-Id: I9ffb20038dee255ef5f83002b7870265771b08c5
/packages/apps/Contacts/tests/src/com/android/contacts/editor/EditorUiUtilsTest.java
949d4e88400761dac02992978f6b79997b5f0055 20-Sep-2016 Marcus Hagerott <mhagerott@google.com> Prevent device default account from sticking.

When a Google account is added and the default is the null device account then
the default should be cleared.

Test
ran unit tests:
$ adb shell am instrument -w com.android.contacts.tests/android.test.InstrumentationTestRunner
Manual test
* Setup nexus phone with no Google account but one outlook account
* Set default to "Device"
* Create new contact and verify that editor shows "Device"
* Add Google Account
* Create new contact and verify that default account chooser is displayed
* Choose the Google account
* verify that editor shows Google Account
* Remove Google account
* verify that default account chooser is shown again when creating new contact
* Set default to Outlook account
* Add Google account
* Create new contact
* verify that account picker is not shown and editor shows outlook

Bug 31603714

Change-Id: I46c87107727a8b50117e70066a4ef4d162970e84
/packages/apps/Contacts/tests/src/com/android/contacts/editor/EditorUiUtilsTest.java
fac695a36b227f5591eac064ded8e8dad3398400 25-Aug-2016 Marcus Hagerott <mhagerott@google.com> Add device and SIM to AccountTypeManager

This makes these account types available throughout the app rather than
just the Nav drawer.

Test:
Added unit tests for new classes; run with:
$ adb shell am instrument -w \
com.google.android.tests/android.test.InstrumentationTestRunner

Manually on Nexus 6, LG G5 and Samsung S7 with device and SIM contacts
in CP2 by verifying "Device" and "SIM" options were available in
* nav drawer
* account list accessed by Pressing FAB without default account set
* editor account dropdown for new contact
* editor account label when editing existing contact
* picker for default account in settings
* settings customize screen account list

Bug 30867780

Change-Id: I329381ccc58d59f2e27f65a3d9dc0164fb20c971
/packages/apps/Contacts/tests/src/com/android/contacts/editor/EditorUiUtilsTest.java
541743ce471222a1eacf8a6366eebc0ee7c1e273 30-Jun-2016 Wenyi Wang <wenyiw@google.com> Better name for local account (1/2)

Bug 29882162

Change-Id: I046b81f62dec109c3502f84ee19eae008217ae98
/packages/apps/Contacts/tests/src/com/android/contacts/editor/EditorUiUtilsTest.java
be5e1b109ce134c7f3f45cd4fc27b69454d7ad31 17-Oct-2015 Walter Jang <wjang@google.com> Show "local only" account name for me profile

Bug 24988734

Change-Id: Ief827757e148d240ec74b46c1dfbb11c1c68a18c
/packages/apps/Contacts/tests/src/com/android/contacts/editor/EditorUiUtilsTest.java
3daa9a34380f0368292f366c397c26f7e90db0df 25-Sep-2015 Wenyi Wang <wenyiw@google.com> Change ringtone behavior based on version.

Bug: 12800232
Change-Id: I9e05d737a847392c277d50a353e4d65ecd70f9a2
/packages/apps/Contacts/tests/src/com/android/contacts/editor/EditorUiUtilsTest.java
defc69ce69b25daa4e3f41b7c7c6cbd1aa3e83ce 26-Aug-2015 Walter Jang <wjang@google.com> Show proper label for phone only accounts

I broke the account label for phone only contacts
when I extracted the logic to set the account label
on the full editor to a utility method so that it
could also be used on the compact editor in ag/712716

Bug 22859536

Change-Id: I3e64f7f6834a1da83078cc783e04b3c2faa0702f
/packages/apps/Contacts/tests/src/com/android/contacts/editor/EditorUiUtilsTest.java