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

Commit 31d394cb authored by Presubmit Automerger Backend's avatar Presubmit Automerger Backend
Browse files

[automerge] Fix StatusBar test 2p: 68afc54a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17158283


Change-Id: Ib58579341ec57097024984f0528d5b8e6b28b96a
Merged-In: If5ce110b506b6b4229dd6ea5a39542369742bc51
parents 5e8514bd 68afc54a
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -351,6 +351,10 @@ public class StatusBarTest extends SysuiTestCase {
        when(mStatusBarComponentFactory.create()).thenReturn(mStatusBarComponent);
        when(mStatusBarComponentFactory.create()).thenReturn(mStatusBarComponent);
        when(mStatusBarComponent.getNotificationShadeWindowViewController()).thenReturn(
        when(mStatusBarComponent.getNotificationShadeWindowViewController()).thenReturn(
                mNotificationShadeWindowViewController);
                mNotificationShadeWindowViewController);
        doAnswer(invocation -> {
            ((Runnable) invocation.getArgument(0)).run();
            return null;
        }).when(mNotificationShadeWindowController).batchApplyWindowLayoutParams(any());


        mShadeController = new ShadeControllerImpl(mCommandQueue,
        mShadeController = new ShadeControllerImpl(mCommandQueue,
                mStatusBarStateController, mNotificationShadeWindowController,
                mStatusBarStateController, mNotificationShadeWindowController,