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

Unified Diff: base/system_monitor/system_monitor.cc

Issue 11027024: Android: Integrates native and java SystemMonitor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments Created 8 years, 2 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: base/system_monitor/system_monitor.cc
diff --git a/base/system_monitor/system_monitor.cc b/base/system_monitor/system_monitor.cc
index 2616275dfbc64db88abaa6abb0fa85e8cf561a7d..d27254f581c5cc50d981cdd0691b8d2130ed0d8f 100644
--- a/base/system_monitor/system_monitor.cc
+++ b/base/system_monitor/system_monitor.cc
@@ -52,6 +52,9 @@ SystemMonitor::SystemMonitor()
#if defined(OS_MACOSX)
PlatformInit();
#endif
+#if defined(OS_ANDROID)
+ is_battery_charging_ = false;
+#endif // defined(OS_ANDROID)
}
SystemMonitor::~SystemMonitor() {

Powered by Google App Engine
This is Rietveld 408576698