Index: components/cronet/android/test/javaperftests/src/org/chromium/net/CronetPerfTestActivity.java |
diff --git a/components/cronet/android/test/javaperftests/src/org/chromium/net/CronetPerfTestActivity.java b/components/cronet/android/test/javaperftests/src/org/chromium/net/CronetPerfTestActivity.java |
index 282b8414df14ff80d5fd3730dd50d57f657dd89c..e67d5f256878c262e097525cc9ce2b9ebcccc1f2 100644 |
--- a/components/cronet/android/test/javaperftests/src/org/chromium/net/CronetPerfTestActivity.java |
+++ b/components/cronet/android/test/javaperftests/src/org/chromium/net/CronetPerfTestActivity.java |
@@ -4,6 +4,7 @@ |
package org.chromium.net; |
+import android.annotation.SuppressLint; |
import android.app.Activity; |
import android.net.Uri; |
import android.os.AsyncTask; |
@@ -211,6 +212,8 @@ public class CronetPerfTestActivity extends Activity { |
} |
} |
+ // TODO(pauljensen): Remove @SuppressLint once crbug.com/501591 is fixed. |
+ @SuppressLint("NewApi") |
private void startLogging() { |
if (getConfigBoolean("CAPTURE_NETLOG")) { |
mCronetContext.startNetLogToFile(getFilesDir().getPath() + "/" + mName + ".json", |