Merge "Only apply crop to task and task fragment in end transition" into tm-qpr-dev am: 0e8f4211ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20663229 Change-Id: I242fe2171e913c5531ea66f7a53486434731bff7 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -643,7 +643,7 @@ class Transition implements BLASTSyncEngine.TransactionReadyListener {
|
||||
// No need to clip the display in case seeing the clipped content when during the
|
||||
// display rotation. No need to clip activities because they rely on clipping on
|
||||
// task layers.
|
||||
if (target.asDisplayContent() != null || target.asActivityRecord() != null) {
|
||||
if (target.asTaskFragment() == null) {
|
||||
t.setCrop(targetLeash, null /* crop */);
|
||||
} else {
|
||||
// Crop to the resolved override bounds.
|
||||
|
||||
Reference in New Issue
Block a user