Merge "Remove unnecessary relayout call from traversals." into mnc-dev

This commit is contained in:
Filip Gruszczynski
2015-07-28 00:04:44 +00:00
committed by Android (Google) Code Review

View File

@@ -555,11 +555,6 @@ public final class ViewRootImpl implements ViewParent,
mPendingContentInsets.set(mAttachInfo.mContentInsets);
mPendingStableInsets.set(mAttachInfo.mStableInsets);
mPendingVisibleInsets.set(0, 0, 0, 0);
try {
relayoutWindow(attrs, getHostVisibility(), false);
} catch (RemoteException e) {
if (DEBUG_LAYOUT) Log.e(TAG, "failed to relayoutWindow", e);
}
if (DEBUG_LAYOUT) Log.v(TAG, "Added window " + mWindow);
if (res < WindowManagerGlobal.ADD_OKAY) {
mAttachInfo.mRootView = null;