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

* commit 'f63800ddcc68944532f7842b6ebf80898147ed4d':
  Remove unnecessary relayout call from traversals.
This commit is contained in:
Filip Gruszczynski
2015-07-28 00:16:34 +00:00
committed by Android Git Automerger

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;