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

This commit is contained in:
Wale Ogunwale
2020-05-07 17:09:43 +00:00
committed by Android (Google) Code Review

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;
}