Merge "Only apply crop to task and task fragment in end transition" into tm-qpr-dev
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
|
// 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
|
// display rotation. No need to clip activities because they rely on clipping on
|
||||||
// task layers.
|
// task layers.
|
||||||
if (target.asDisplayContent() != null || target.asActivityRecord() != null) {
|
if (target.asTaskFragment() == null) {
|
||||||
t.setCrop(targetLeash, null /* crop */);
|
t.setCrop(targetLeash, null /* crop */);
|
||||||
} else {
|
} else {
|
||||||
// Crop to the resolved override bounds.
|
// Crop to the resolved override bounds.
|
||||||
|
|||||||
Reference in New Issue
Block a user