Merge "Wallpaper: Propagate transform hint from WM to BBQ surface" into sc-dev
This commit is contained in:
@@ -1033,6 +1033,9 @@ public abstract class WallpaperService extends Service {
|
|||||||
.build();
|
.build();
|
||||||
updateSurfaceDimming();
|
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,
|
Surface blastSurface = getOrCreateBLASTSurface(mSurfaceSize.x,
|
||||||
mSurfaceSize.y, mFormat);
|
mSurfaceSize.y, mFormat);
|
||||||
// If blastSurface == null that means it hasn't changed since the last
|
// If blastSurface == null that means it hasn't changed since the last
|
||||||
|
|||||||
Reference in New Issue
Block a user