Skip to content

Commit

Permalink
Deletes null layout state measure error
Browse files Browse the repository at this point in the history
Summary: Deletes null layout state measure error

Reviewed By: astreet

Differential Revision: D55418849

fbshipit-source-id: 115b3f3ed79886a6a42753fc891691311e97069b
  • Loading branch information
adityasharat authored and facebook-github-bot committed Mar 27, 2024
1 parent aa9b281 commit 229135d
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions litho-core/src/main/java/com/facebook/litho/ComponentTree.java
Original file line number Diff line number Diff line change
Expand Up @@ -971,24 +971,6 @@ && isCompatibleSpec(mCommittedLayoutState, widthSpec, heightSpec)) {
} else {
measureOutput[0] = output.width;
measureOutput[1] = output.height;

ComponentsReporter.emitMessage(
ComponentsReporter.LogLevel.ERROR,
"NullLayoutStateInMeasure",
"Measure Specs: ["
+ View.MeasureSpec.toString(widthSpec)
+ ", "
+ View.MeasureSpec.toString(heightSpec)
+ "], Current Specs: ["
+ View.MeasureSpec.toString(mWidthSpec)
+ ", "
+ View.MeasureSpec.toString(mHeightSpec)
+ "], Output [W: "
+ output.width
+ ", H:"
+ output.height
+ "], Last Layout Source: "
+ LayoutState.layoutSourceToString(mLastLayoutSource));
}
}
} else {
Expand Down

0 comments on commit 229135d

Please sign in to comment.