Index: testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java |
diff --git a/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java b/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java |
index 1d29bcd6e45d7e65baf2ab38f009a800fb385bfc..4d4839c9d470b2b381ab288822b11594773863f3 100644 |
--- a/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java |
+++ b/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java |
@@ -12,6 +12,7 @@ import android.util.Log; |
import org.chromium.base.PathUtils; |
import org.chromium.base.PowerMonitor; |
+import org.chromium.base.ResourceExtractor; |
import org.chromium.base.library_loader.NativeLibraries; |
/** |
@@ -31,6 +32,11 @@ public class ChromeNativeTestActivity extends Activity { |
// Needed by path_utils_unittest.cc |
PathUtils.setPrivateDataDirectorySuffix("chrome"); |
+ ResourceExtractor resourceExtractor = ResourceExtractor.get(getApplicationContext()); |
+ resourceExtractor.setExtractAllPaksForTesting(); |
+ resourceExtractor.startExtractingResources(); |
+ resourceExtractor.waitForCompletion(); |
+ |
// Needed by system_monitor_unittest.cc |
PowerMonitor.createForTests(this); |