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

Commit efc3c464 authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Fixing null check causing test breakage

Bug: 333609600
Test: Presubmit
Flag: None
Change-Id: Ic44df00ba945c79010c2cf99a034cca2b5d6c161
parent 3b00e790
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -209,7 +209,8 @@ public class PrivateProfileManagerTest {

        Mockito.verify(mContext).startActivity(acIntent.capture());
        assertEquals("Intent Action is different",
                expectedIntent.toUri(0), acIntent.getValue().toUri(0));
                expectedIntent == null ? null : expectedIntent.toUri(0),
                acIntent.getValue() == null ? null : acIntent.getValue().toUri(0));
    }

    private static void awaitTasksCompleted() throws Exception {