Merge "Remove unnecessary relayout call from traversals." into mnc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f63800ddcc
@@ -555,11 +555,6 @@ public final class ViewRootImpl implements ViewParent,
|
|||||||
mPendingContentInsets.set(mAttachInfo.mContentInsets);
|
mPendingContentInsets.set(mAttachInfo.mContentInsets);
|
||||||
mPendingStableInsets.set(mAttachInfo.mStableInsets);
|
mPendingStableInsets.set(mAttachInfo.mStableInsets);
|
||||||
mPendingVisibleInsets.set(0, 0, 0, 0);
|
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 (DEBUG_LAYOUT) Log.v(TAG, "Added window " + mWindow);
|
||||||
if (res < WindowManagerGlobal.ADD_OKAY) {
|
if (res < WindowManagerGlobal.ADD_OKAY) {
|
||||||
mAttachInfo.mRootView = null;
|
mAttachInfo.mRootView = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user