Merge "Use current display surface size for custom rotation animation" into rvc-dev am: 281e6cefb5 am: cb01b60a58
Change-Id: Ieb863cb70146b9e75e8e0ff9325968b81e9ed0fb
This commit is contained in:
@@ -597,8 +597,8 @@ class ScreenRotationAnimation {
|
|||||||
return startAnimation(initializeBuilder()
|
return startAnimation(initializeBuilder()
|
||||||
.setSurfaceControl(mScreenshotLayer)
|
.setSurfaceControl(mScreenshotLayer)
|
||||||
.setAnimationLeashParent(mDisplayContent.getOverlayLayer())
|
.setAnimationLeashParent(mDisplayContent.getOverlayLayer())
|
||||||
.setWidth(mWidth)
|
.setWidth(mDisplayContent.getSurfaceWidth())
|
||||||
.setHeight(mHeight)
|
.setHeight(mDisplayContent.getSurfaceHeight())
|
||||||
.build(),
|
.build(),
|
||||||
createWindowAnimationSpec(mRotateAlphaAnimation),
|
createWindowAnimationSpec(mRotateAlphaAnimation),
|
||||||
this::onAnimationEnd);
|
this::onAnimationEnd);
|
||||||
|
|||||||
Reference in New Issue
Block a user