in core/src/main/java/com/facebook/testing/screenshot/ViewHelpers.java [124:128]
private void validateHeight() {
if (mGuessListViewHeight && mHeightMeasureSpec != 0) {
throw new IllegalStateException("Can't call both setExactHeight && guessListViewHeight");
}
}