Merge "Fix NPE in getCompatibleMagnificationSpecForWindow" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-02-14 05:09:35 +00:00
committed by Android (Google) Code Review

View File

@@ -7514,8 +7514,8 @@ public class WindowManagerService extends IWindowManager.Stub
if (spec != null) {
result.setTo(spec);
}
spec.scale *= windowState.mGlobalScale;
return spec;
result.scale *= windowState.mGlobalScale;
return result;
}
}