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