Always hide default account picker when one writable account.
BUG 25467864
Change-Id: I81fa329831a6cb3d7252702b8a68bb19ead22b85
diff --git a/tests/src/com/android/contacts/editor/ContactEditorUtilsTest.java b/tests/src/com/android/contacts/editor/ContactEditorUtilsTest.java
index 2b6c667..2e0306a 100644
--- a/tests/src/com/android/contacts/editor/ContactEditorUtilsTest.java
+++ b/tests/src/com/android/contacts/editor/ContactEditorUtilsTest.java
@@ -175,7 +175,6 @@
* 0 accounts.
*/
public void testShouldShowAccountChangedNotification_0Accounts() {
- // There's always at least one writable type...
setAccountTypes(TYPE1);
// First launch -- always true.
@@ -250,8 +249,8 @@
setAccountTypes(TYPE1, TYPE2);
setAccounts(ACCOUNT_1_A);
- // First launch -- always true.
- assertTrue(mTarget.shouldShowAccountChangedNotification());
+ // Always returns false when 1 writable account.
+ assertFalse(mTarget.shouldShowAccountChangedNotification());
// User saves a new contact.
mTarget.saveDefaultAndAllAccounts(ACCOUNT_1_A);
@@ -267,7 +266,6 @@
* 0 accounts, and the user selected "local only".
*/
public void testShouldShowAccountChangedNotification_0Account_localOnly() {
- // There's always at least one writable type...
setAccountTypes(TYPE1);
// First launch -- always true.