From e5a38f0ad22d2c65c3f5b568a88a0b7224ad62d8 Mon Sep 17 00:00:00 2001 From: borenet Date: Wed, 2 Sep 2015 06:04:29 -0700 Subject: [PATCH] VisualBenchTest: Read nanobench_flags.txt BUG=skia:4093 Review URL: https://codereview.chromium.org/1314873005 --- .../com/skia/VisualBenchTestActivity.java | 24 +++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/platform_tools/android/apps/visualbench/src/main/java/com/skia/VisualBenchTestActivity.java b/platform_tools/android/apps/visualbench/src/main/java/com/skia/VisualBenchTestActivity.java index 2edd816306..48507bea68 100644 --- a/platform_tools/android/apps/visualbench/src/main/java/com/skia/VisualBenchTestActivity.java +++ b/platform_tools/android/apps/visualbench/src/main/java/com/skia/VisualBenchTestActivity.java @@ -11,6 +11,11 @@ import android.app.Instrumentation; import android.content.Intent; import android.test.ActivityUnitTestCase; import android.util.Log; +import java.io.BufferedReader; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.io.IOException; +import java.lang.StringBuilder; public class VisualBenchTestActivity extends ActivityUnitTestCase { private VisualBenchActivity mActivity; @@ -25,11 +30,26 @@ public class VisualBenchTestActivity extends ActivityUnitTestCase