Skip to content

Commit f63800d

Browse files
Filip GruszczynskiAndroid (Google) Code Review
authored andcommitted
Merge "Remove unnecessary relayout call from traversals." into mnc-dev
2 parents 67a32c4 + 9b621a7 commit f63800d

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

core/java/android/view/ViewRootImpl.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -555,11 +555,6 @@ public void setView(View view, WindowManager.LayoutParams attrs, View panelParen
555555
mPendingContentInsets.set(mAttachInfo.mContentInsets);
556556
mPendingStableInsets.set(mAttachInfo.mStableInsets);
557557
mPendingVisibleInsets.set(0, 0, 0, 0);
558-
try {
559-
relayoutWindow(attrs, getHostVisibility(), false);
560-
} catch (RemoteException e) {
561-
if (DEBUG_LAYOUT) Log.e(TAG, "failed to relayoutWindow", e);
562-
}
563558
if (DEBUG_LAYOUT) Log.v(TAG, "Added window " + mWindow);
564559
if (res < WindowManagerGlobal.ADD_OKAY) {
565560
mAttachInfo.mRootView = null;

0 commit comments

Comments
 (0)