diff options
Diffstat (limited to 'testing/android')
-rw-r--r-- | testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java | 4 |
1 files changed, 4 insertions, 0 deletions
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 b984c48..77022506 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.os.Handler; import android.util.Log; import org.chromium.base.PathUtils; +import org.chromium.base.SystemMonitor; import java.io.File; @@ -40,6 +41,9 @@ public class ChromeNativeTestActivity extends Activity { // Needed by path_utils_unittest.cc PathUtils.setPrivateDataDirectorySuffix("chrome"); + // Needed by system_monitor_unittest.cc + SystemMonitor.createForTests(this); + try { loadLibrary(); Bundle extras = this.getIntent().getExtras(); |