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

Change-Id: I03f031fcb3ab599ba67ede3a73ae926265223fd7
This commit is contained in:
Wale Ogunwale
2020-05-07 17:24:28 +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;
}