Merge "Use resolved configuration for shell transit clip rect" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ad2993445f
@@ -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