Merge "Use resolved configuration for shell transit clip rect" into tm-qpr-dev am: ad2993445f am: d2ee9c396d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20571286 Change-Id: I0534cba3b0a13b9d417f7cd46eee1ffb8244f680 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -639,8 +639,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