Fix wrong parameter for StaticLayoutPerfTest

Test: N/A
Bug: N/A
Change-Id: I598115d69fc6e59aa28b60644e6cb80794262c11
This commit is contained in:
Seigo Nonaka
2018-02-01 16:48:52 -08:00
parent fad69a64d9
commit 3fe3869dfe

View File

@@ -232,7 +232,7 @@ public class StaticLayoutPerfTest {
while (state.keepRunning()) {
state.pauseTiming();
final MeasuredText text = new MeasuredText.Builder(
mTextUtil.nextRandomParagraph(WORD_LENGTH, NO_STYLE_TEXT), PAINT)
mTextUtil.nextRandomParagraph(WORD_LENGTH, STYLE_TEXT), PAINT)
.setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE)
.setHyphenationFrequency(Layout.HYPHENATION_FREQUENCY_NONE)
.build();