Merge "Wallpaper: Propagate transform hint from WM to BBQ surface" into sc-dev am: 2dfdf43732 am: 8ad4528fa2

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15372415

Change-Id: Id7391dbc6ce47e2311f062402f74ed4a9c49083a
This commit is contained in:
Vishnu Nair
2021-07-26 18:58:46 +00:00
committed by Automerger Merge Worker

View File

@@ -1033,6 +1033,9 @@ public abstract class WallpaperService extends Service {
.build();
updateSurfaceDimming();
}
// Propagate transform hint from WM so we can use the right hint for the
// first frame.
mBbqSurfaceControl.setTransformHint(mSurfaceControl.getTransformHint());
Surface blastSurface = getOrCreateBLASTSurface(mSurfaceSize.x,
mSurfaceSize.y, mFormat);
// If blastSurface == null that means it hasn't changed since the last