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

am: 5a5057a78b

* commit '5a5057a78bc83e6d419c421224850139097662f4':
  Use actual window size for layout
This commit is contained in:
Jorim Jaggi
2016-02-25 02:32:07 +00:00
committed by android-build-merger

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