Merge "Merge "Fix the round corner and crop issue after auto-enter-pip" into sc-dev am: 4f2967f788 am: 71d9bd0bb3" into sc-v2-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
8b6903a72c
@@ -5942,9 +5942,9 @@ class Task extends TaskFragment {
|
|||||||
mLastRecentsAnimationTransaction = null;
|
mLastRecentsAnimationTransaction = null;
|
||||||
mLastRecentsAnimationOverlay = null;
|
mLastRecentsAnimationOverlay = null;
|
||||||
// reset also the crop and transform introduced by mLastRecentsAnimationTransaction
|
// reset also the crop and transform introduced by mLastRecentsAnimationTransaction
|
||||||
Rect bounds = getBounds();
|
|
||||||
getPendingTransaction().setMatrix(mSurfaceControl, Matrix.IDENTITY_MATRIX, new float[9])
|
getPendingTransaction().setMatrix(mSurfaceControl, Matrix.IDENTITY_MATRIX, new float[9])
|
||||||
.setWindowCrop(mSurfaceControl, bounds.width(), bounds.height());
|
.setWindowCrop(mSurfaceControl, null)
|
||||||
|
.setCornerRadius(mSurfaceControl, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void maybeApplyLastRecentsAnimationTransaction() {
|
void maybeApplyLastRecentsAnimationTransaction() {
|
||||||
|
|||||||
Reference in New Issue
Block a user