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

Commit 2f2cad50 authored by Greg Hackmann's avatar Greg Hackmann Committed by android-build-merger
Browse files

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

am: f523fe4f

Change-Id: Ic4f2a05791a9ae375bc0acb220c48e78f7d6cea1
parents afd07cb0 f523fe4f
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);
        }