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

Unified Diff: services/device/battery/android/java/src/org/chromium/device/battery/BatteryMonitorFactory.java

Issue 2847523002: Android: Remove GetApplicationContext part 4 (Closed)
Patch Set: Rebase and fix build Created 3 years, 7 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
Index: services/device/battery/android/java/src/org/chromium/device/battery/BatteryMonitorFactory.java
diff --git a/services/device/battery/android/java/src/org/chromium/device/battery/BatteryMonitorFactory.java b/services/device/battery/android/java/src/org/chromium/device/battery/BatteryMonitorFactory.java
index 4d56fc0951efda70d96ba64351d238265593920c..db74ff1a4032e44e0bce0ece7952a68cf6068868 100644
--- a/services/device/battery/android/java/src/org/chromium/device/battery/BatteryMonitorFactory.java
+++ b/services/device/battery/android/java/src/org/chromium/device/battery/BatteryMonitorFactory.java
@@ -44,7 +44,7 @@ public class BatteryMonitorFactory implements InterfaceFactory<BatteryMonitor> {
public BatteryMonitorFactory(Context applicationContext) {
assert applicationContext != null;
- mManager = new BatteryStatusManager(applicationContext, mCallback);
+ mManager = new BatteryStatusManager(mCallback);
}
@Override

Powered by Google App Engine
This is Rietveld 408576698