Loading services/core/java/com/android/server/wm/Transition.java +0 −7 Original line number Diff line number Diff line Loading @@ -943,13 +943,6 @@ class Transition implements BLASTSyncEngine.TransactionReadyListener { cleanUpInternal(); return; } // Ensure that wallpaper visibility is updated with the latest wallpaper target. for (int i = mParticipants.size() - 1; i >= 0; --i) { final WindowContainer<?> wc = mParticipants.valueAt(i); if (isWallpaper(wc) && wc.getDisplayContent() != null) { wc.getDisplayContent().mWallpaperController.adjustWallpaperWindows(); } } mState = STATE_PLAYING; mStartTransaction = transaction; Loading services/tests/wmtests/src/com/android/server/wm/WallpaperControllerTests.java +0 −9 Original line number Diff line number Diff line Loading @@ -372,15 +372,6 @@ public class WallpaperControllerTests extends WindowTestsBase { dc.mTransitionController.finishTransition(transit.getToken()); assertFalse(wallpaperWindow.isVisible()); assertFalse(token.isVisible()); // Assume wallpaper was visible. When transaction is ready without wallpaper target, // wallpaper should be requested to be invisible. token.setVisibility(true); transit = dc.mTransitionController.createTransition(TRANSIT_CLOSE); dc.mTransitionController.collect(token); transit.onTransactionReady(transit.getSyncId(), t); assertFalse(token.isVisibleRequested()); assertTrue(token.isVisible()); } private static void prepareSmallerSecondDisplay(DisplayContent dc, int width, int height) { Loading Loading
services/core/java/com/android/server/wm/Transition.java +0 −7 Original line number Diff line number Diff line Loading @@ -943,13 +943,6 @@ class Transition implements BLASTSyncEngine.TransactionReadyListener { cleanUpInternal(); return; } // Ensure that wallpaper visibility is updated with the latest wallpaper target. for (int i = mParticipants.size() - 1; i >= 0; --i) { final WindowContainer<?> wc = mParticipants.valueAt(i); if (isWallpaper(wc) && wc.getDisplayContent() != null) { wc.getDisplayContent().mWallpaperController.adjustWallpaperWindows(); } } mState = STATE_PLAYING; mStartTransaction = transaction; Loading
services/tests/wmtests/src/com/android/server/wm/WallpaperControllerTests.java +0 −9 Original line number Diff line number Diff line Loading @@ -372,15 +372,6 @@ public class WallpaperControllerTests extends WindowTestsBase { dc.mTransitionController.finishTransition(transit.getToken()); assertFalse(wallpaperWindow.isVisible()); assertFalse(token.isVisible()); // Assume wallpaper was visible. When transaction is ready without wallpaper target, // wallpaper should be requested to be invisible. token.setVisibility(true); transit = dc.mTransitionController.createTransition(TRANSIT_CLOSE); dc.mTransitionController.collect(token); transit.onTransactionReady(transit.getSyncId(), t); assertFalse(token.isVisibleRequested()); assertTrue(token.isVisible()); } private static void prepareSmallerSecondDisplay(DisplayContent dc, int width, int height) { Loading