Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Unified Diff: testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTest.java

Issue 2642333003: Dynamically register the power broadcast receiver. (Closed)
Patch Set: Assert on UI thread for creation Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/DeferredStartupHandler.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTest.java
diff --git a/testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTest.java b/testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTest.java
index c71effa808cab603755bd1c22850c411480eb7f4..339966e49d100359eff6417fff3168767a8a1f8b 100644
--- a/testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTest.java
+++ b/testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTest.java
@@ -29,7 +29,7 @@ public class NativeUnitTest extends NativeTest {
PathUtils.setPrivateDataDirectorySuffix("chrome");
// Needed by system_monitor_unittest.cc
- PowerMonitor.createForTests(activity);
+ PowerMonitor.createForTests();
// For NativeActivity based tests,
// dependency libraries must be loaded before NativeActivity::OnCreate,
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/DeferredStartupHandler.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698