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

Commit 966276cb authored by Sean Liu's avatar Sean Liu Committed by Android (Google) Code Review
Browse files

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

parents 11412764 63859fe7
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) {