Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ba728b6 authored by guanxiongliu's avatar guanxiongliu Committed by android-build-merger
Browse files

Changing unit test case to verify account selection dialog is disabled.

am: f659cb04

* commit 'f659cb04':
  Changing unit test case to verify account selection dialog is disabled.
parents deddb8dd f659cb04
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -294,7 +294,10 @@ public class ContactEditorUtilsTest extends AndroidTestCase {

        // Remove the default account to emulate broken preferences.
        mTarget.removeDefaultAccountForTest();
        assertTrue(mTarget.shouldShowAccountChangedNotification());

        // The dialog shouldn't show up.
        // The logic is, if there's a writable account, we'll pick it as default
        assertFalse(mTarget.shouldShowAccountChangedNotification());
    }

    private static <T> Set<T> toSet(Collection<T> collection) {