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

Commit 79f9dd01 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Fix StatusBar test

Runnable was not being applied

Test: atest StatusBarTest
Fixes: 216532410
Change-Id: If5ce110b506b6b4229dd6ea5a39542369742bc51
parent c5900ec5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -369,6 +369,10 @@ public class StatusBarTest extends SysuiTestCase {
        when(mStatusBarComponentFactory.create()).thenReturn(mStatusBarComponent);
        when(mStatusBarComponent.getNotificationShadeWindowViewController()).thenReturn(
                mNotificationShadeWindowViewController);
        doAnswer(invocation -> {
            ((Runnable) invocation.getArgument(0)).run();
            return null;
        }).when(mNotificationShadeWindowController).batchApplyWindowLayoutParams(any());

        mShadeController = new ShadeControllerImpl(mCommandQueue,
                mStatusBarStateController, mNotificationShadeWindowController,