Merge "Use actual window size for layout" into nyc-dev

This commit is contained in:
Jorim Jaggi
2016-02-25 02:26:30 +00:00
committed by Android (Google) Code Review

View File

@@ -1982,7 +1982,7 @@ public final class ViewRootImpl implements ViewParent,
boolean triggerGlobalLayoutListener = didLayout
|| mAttachInfo.mRecomputeGlobalAttributes;
if (didLayout) {
performLayout(lp, desiredWindowWidth, desiredWindowHeight);
performLayout(lp, mWidth, mHeight);
// By this point all views have been sized and positioned
// We can compute the transparent area