Fix build failure by method signature change

Commit 3712433 was merged before adding the test.

Bug: 242285965
Bug: 242849545
Test: WindowManagerServiceTests#testRelayoutExitingWindow
Change-Id: Ide94c437c9d05658a70d3de423af81ec602d8862
This commit is contained in:
Riddle Hsu
2022-08-17 22:03:16 +08:00
parent 5dd3c9d4c1
commit d8ebffe476

View File

@@ -195,7 +195,7 @@ public class WindowManagerServiceTests extends WindowTestsBase {
mWm.mWindowMap.put(win.mClient.asBinder(), win); mWm.mWindowMap.put(win.mClient.asBinder(), win);
final int w = 100; final int w = 100;
final int h = 200; final int h = 200;
mWm.relayoutWindow(win.mSession, win.mClient, win.mAttrs, w, h, View.GONE, 0, mWm.relayoutWindow(win.mSession, win.mClient, win.mAttrs, w, h, View.GONE, 0, 0, 0,
new ClientWindowFrames(), new MergedConfiguration(), new SurfaceControl(), new ClientWindowFrames(), new MergedConfiguration(), new SurfaceControl(),
new InsetsState(), new InsetsSourceControl[0], new Bundle()); new InsetsState(), new InsetsSourceControl[0], new Bundle());
// Because the window is already invisible, it doesn't need to apply exiting animation // Because the window is already invisible, it doesn't need to apply exiting animation