summaryrefslogtreecommitdiff
path: root/core/java/android/window/SplashScreenView.java
diff options
context:
space:
mode:
authorVishnu Nair <vishnun@google.com>2022-02-04 16:30:09 -0800
committerRobert Carr <racarr@google.com>2022-02-09 10:38:26 -0800
commit77cbb96034c74e803bca2b7a6bef2274e9050ab7 (patch)
treee2d6dfb755fa52309ebaa86d770ebbf018152e86 /core/java/android/window/SplashScreenView.java
parentc5c0a60bdd73a4abb90d26ca702f76db2cf9e32f (diff)
SurfaceView: Synchronize add/remove SurfacePackage with VRI draw
Apply the SurfacePackage reparent transactions with the next ViewRootImpl draw so the caller can optionally synchronize attaching SurfacePackages with contents on the main window. Test: atest CtsWindowManagerDeviceTestCases:SurfaceControlViewHostTests Bug: 217973491 Change-Id: I87f77cb6a5a2505592f6e9431d2964517fe497cd
Diffstat (limited to 'core/java/android/window/SplashScreenView.java')
-rw-r--r--core/java/android/window/SplashScreenView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/window/SplashScreenView.java b/core/java/android/window/SplashScreenView.java
index b90e628da714..34a34180b227 100644
--- a/core/java/android/window/SplashScreenView.java
+++ b/core/java/android/window/SplashScreenView.java
@@ -493,7 +493,7 @@ public final class SplashScreenView extends FrameLayout {
Log.d(TAG, "Transferring surface " + mSurfaceView.toString());
}
- mSurfaceView.setChildSurfacePackageOnDraw(mSurfacePackage);
+ mSurfaceView.setChildSurfacePackage(mSurfacePackage);
}
void initIconAnimation(Drawable iconDrawable, long duration) {