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

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