[automerge] Fix StatusBar test 2p: 68afc54a39
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17158283 Change-Id: Ib58579341ec57097024984f0528d5b8e6b28b96a Merged-In: If5ce110b506b6b4229dd6ea5a39542369742bc51
This commit is contained in:
@@ -351,6 +351,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,
|
||||
|
||||
Reference in New Issue
Block a user