Index: content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsActivity.java |
diff --git a/content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsActivity.java b/content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsActivity.java |
index 049110b36816e0ea917e1b6a551a3a53c8cb49a5..1f78f82ef6fc499d3855c87217221e4649a80f83 100644 |
--- a/content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsActivity.java |
+++ b/content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsActivity.java |
@@ -6,7 +6,7 @@ package org.chromium.content_browsertests_apk; |
import android.os.Bundle; |
-import org.chromium.base.PathUtils; |
+import org.chromium.base.test.util.UrlUtils; |
import org.chromium.content_shell.browsertests.ContentShellBrowserTestActivity; |
import java.io.File; |
@@ -26,7 +26,9 @@ public class ContentBrowserTestsActivity extends ContentShellBrowserTestActivity |
@Override |
protected File getPrivateDataDirectory() { |
- return new File(PathUtils.getExternalStorageDirectory(), |
+ // TODO(agrieve): We should not be touching the side-loaded test data directory. |
+ // https://crbug.com/617734 |
+ return new File(UrlUtils.getIsolatedTestRoot(), |
ContentBrowserTestsApplication.PRIVATE_DATA_DIRECTORY_SUFFIX); |
} |