* commit '3bb0bb3afc46f88e4372f6912bd4c18547de5a78': 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