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

Commit 46b1bf49 authored by Marzia Favaro's avatar Marzia Favaro Committed by Android (Google) Code Review
Browse files

Merge "Adjust stubs for new getDimmer conditions" into main

parents c2a4fea8 b15fc7f2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1549,8 +1549,10 @@ public class TransitionTests extends WindowTestsBase {
        });
        assertTrue(activity1.isVisible());
        doReturn(false).when(task1).isTranslucent(null);
        doReturn(false).when(task1).isTranslucentForTransition();
        assertTrue(controller.canApplyDim(task1));
        doReturn(true).when(task1).isTranslucent(null);
        doReturn(true).when(task1).isTranslucentForTransition();
        assertFalse(controller.canApplyDim(task1));

        controller.finishTransition(closeTransition);