Loading services/tests/wmtests/src/com/android/server/wm/SplashScreenExceptionListTest.java +5 −2 Original line number Diff line number Diff line Loading @@ -157,8 +157,11 @@ public class SplashScreenExceptionListTest { DeviceConfig.setProperty(DeviceConfig.NAMESPACE_WINDOW_MANAGER, KEY_SPLASH_SCREEN_EXCEPTION_LIST, commaSeparatedList, false); try { assertTrue("Timed out waiting for DeviceConfig to be updated.", latch.await(5, TimeUnit.SECONDS)); if (!latch.await(1, TimeUnit.SECONDS)) { Log.w(getClass().getSimpleName(), "Timed out waiting for DeviceConfig to be updated. Force update."); mList.updateDeviceConfig(commaSeparatedList); } } catch (InterruptedException e) { Assert.fail(e.getMessage()); } Loading services/tests/wmtests/src/com/android/server/wm/WindowTestsBase.java +2 −0 Original line number Diff line number Diff line Loading @@ -1062,6 +1062,8 @@ class WindowTestsBase extends SystemServiceTestsBase { mWm.mAnimator.ready(); if (!mWm.mWindowPlacerLocked.isTraversalScheduled()) { mRootWindowContainer.performSurfacePlacement(); } else { waitHandlerIdle(mWm.mAnimationHandler); } waitUntilWindowAnimatorIdle(); } Loading Loading
services/tests/wmtests/src/com/android/server/wm/SplashScreenExceptionListTest.java +5 −2 Original line number Diff line number Diff line Loading @@ -157,8 +157,11 @@ public class SplashScreenExceptionListTest { DeviceConfig.setProperty(DeviceConfig.NAMESPACE_WINDOW_MANAGER, KEY_SPLASH_SCREEN_EXCEPTION_LIST, commaSeparatedList, false); try { assertTrue("Timed out waiting for DeviceConfig to be updated.", latch.await(5, TimeUnit.SECONDS)); if (!latch.await(1, TimeUnit.SECONDS)) { Log.w(getClass().getSimpleName(), "Timed out waiting for DeviceConfig to be updated. Force update."); mList.updateDeviceConfig(commaSeparatedList); } } catch (InterruptedException e) { Assert.fail(e.getMessage()); } Loading
services/tests/wmtests/src/com/android/server/wm/WindowTestsBase.java +2 −0 Original line number Diff line number Diff line Loading @@ -1062,6 +1062,8 @@ class WindowTestsBase extends SystemServiceTestsBase { mWm.mAnimator.ready(); if (!mWm.mWindowPlacerLocked.isTraversalScheduled()) { mRootWindowContainer.performSurfacePlacement(); } else { waitHandlerIdle(mWm.mAnimationHandler); } waitUntilWindowAnimatorIdle(); } Loading