diff options
author | Filip Gruszczynski <gruszczy@google.com> | 2015-07-27 08:52:50 -0700 |
---|---|---|
committer | Filip Gruszczynski <gruszczy@google.com> | 2015-07-27 11:44:31 -0700 |
commit | 9b621a72e2f74fecc1b9b6f8b8d766561e067843 (patch) | |
tree | 01188d1ff6ba938e4ab25a29ad566e32cde1390e /core/java/android/view | |
parent | 9c450936aad92920215d2bc52d2c9ce132a55432 (diff) | |
download | frameworks_base-9b621a72e2f74fecc1b9b6f8b8d766561e067843.zip frameworks_base-9b621a72e2f74fecc1b9b6f8b8d766561e067843.tar.gz frameworks_base-9b621a72e2f74fecc1b9b6f8b8d766561e067843.tar.bz2 |
Remove unnecessary relayout call from traversals.
All the necessary information (most importantly outsets) arrives in
addWindowToDisplay that is happening a few lines earlier.
Bug: 22073222
Change-Id: I483e98808877f32812c0e959cdfc14b4e0ca5e62
Diffstat (limited to 'core/java/android/view')
-rw-r--r-- | core/java/android/view/ViewRootImpl.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/core/java/android/view/ViewRootImpl.java b/core/java/android/view/ViewRootImpl.java index 9b1db57..c22c0ef 100644 --- a/core/java/android/view/ViewRootImpl.java +++ b/core/java/android/view/ViewRootImpl.java @@ -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; |