Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f523fe4f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "PaintMeasureTextTest: only pause/resume not_cached benchmarks" into oc-mr1-dev

parents d29f6f12 8b034999
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -80,11 +80,11 @@ public class PaintMeasureTextTest {
        }

        while (state.keepRunning()) {
            state.pauseTiming();
            if (mCacheMode == DONT_USE_CACHE) {
                state.pauseTiming();
                Canvas.freeTextLayoutCaches();
            }
                state.resumeTiming();
            }

            paint.measureText(mText);
        }