am 95275dc7: am 5a8e31ef: am 3bb0bb3a: am f63800dd: Merge "Remove unnecessary relayout call from traversals." into mnc-dev
* commit '95275dc7caedda2e22524cae721dc13396ae15e4': Remove unnecessary relayout call from traversals.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user