Merge "Task: Don't set crop for Organized surfaces." into rvc-dev am: 6f3dbab3df am: 3ca5dc3bdf

Change-Id: I4c26cf6d27d6b810fc64636cc05204ef087ea6eb
This commit is contained in:
Wale Ogunwale
2020-05-07 17:53:32 +00:00
committed by Automerger Merge Worker

View File

@@ -2013,7 +2013,7 @@ class Task extends WindowContainer<WindowContainer> {
}
void updateSurfaceSize(SurfaceControl.Transaction transaction) {
if (mSurfaceControl == null || mCreatedByOrganizer) {
if (mSurfaceControl == null || isOrganized()) {
return;
}