Loading services/tests/servicestests/src/com/android/server/wm/RootWindowContainerTests.java +24 −22 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ import static org.junit.Assert.assertTrue; public class RootWindowContainerTests extends WindowTestsBase { @Test public void testSetDisplayOverrideConfigurationIfNeeded() throws Exception { synchronized (sWm.mWindowMap) { // Add first stack we expect to be updated with configuration change. final TaskStack stack = createTaskStackOnDisplay(mDisplayContent); stack.getOverrideConfiguration().windowConfiguration.setBounds(new Rect(0, 0, 5, 5)); Loading @@ -48,3 +49,4 @@ public class RootWindowContainerTests extends WindowTestsBase { assertTrue(results[0] == stack.mStackId); } } } Loading
services/tests/servicestests/src/com/android/server/wm/RootWindowContainerTests.java +24 −22 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ import static org.junit.Assert.assertTrue; public class RootWindowContainerTests extends WindowTestsBase { @Test public void testSetDisplayOverrideConfigurationIfNeeded() throws Exception { synchronized (sWm.mWindowMap) { // Add first stack we expect to be updated with configuration change. final TaskStack stack = createTaskStackOnDisplay(mDisplayContent); stack.getOverrideConfiguration().windowConfiguration.setBounds(new Rect(0, 0, 5, 5)); Loading @@ -48,3 +49,4 @@ public class RootWindowContainerTests extends WindowTestsBase { assertTrue(results[0] == stack.mStackId); } } }