Merge "Use resolved configuration for shell transit clip rect" into tm-qpr-dev am: ad2993445f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20571286 Change-Id: I431eb75d25b958bef70830eb3e269841f8a65d7e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -646,8 +646,8 @@ class Transition implements BLASTSyncEngine.TransactionReadyListener {
|
||||
if (target.asDisplayContent() != null || target.asActivityRecord() != null) {
|
||||
t.setCrop(targetLeash, null /* crop */);
|
||||
} else {
|
||||
// Crop to the requested bounds.
|
||||
final Rect clipRect = target.getRequestedOverrideBounds();
|
||||
// Crop to the resolved override bounds.
|
||||
final Rect clipRect = target.getResolvedOverrideBounds();
|
||||
t.setWindowCrop(targetLeash, clipRect.width(), clipRect.height());
|
||||
}
|
||||
t.setCornerRadius(targetLeash, 0);
|
||||
|
||||
Reference in New Issue
Block a user