| Index: base/power_monitor/power_monitor_device_source_android.cc
|
| diff --git a/base/power_monitor/power_monitor_device_source_android.cc b/base/power_monitor/power_monitor_device_source_android.cc
|
| index 9671c30761ebb31584f1165e627f21933fc37baa..c584a0c15b57f7b5e5a2a21a9baa0dce6e8ce3ef 100644
|
| --- a/base/power_monitor/power_monitor_device_source_android.cc
|
| +++ b/base/power_monitor/power_monitor_device_source_android.cc
|
| @@ -23,13 +23,9 @@ void OnBatteryChargingChanged(JNIEnv* env, const JavaParamRef<jclass>& clazz) {
|
| ProcessPowerEventHelper(PowerMonitorSource::POWER_STATE_EVENT);
|
| }
|
|
|
| -void OnMainActivityResumed(JNIEnv* env, const JavaParamRef<jclass>& clazz) {
|
| - ProcessPowerEventHelper(PowerMonitorSource::RESUME_EVENT);
|
| -}
|
| -
|
| -void OnMainActivitySuspended(JNIEnv* env, const JavaParamRef<jclass>& clazz) {
|
| - ProcessPowerEventHelper(PowerMonitorSource::SUSPEND_EVENT);
|
| -}
|
| +// Note: Android does not have the concept of suspend / resume as it's known by
|
| +// other platforms. Thus we do not send Suspend/Resume notifications. See
|
| +// http://crbug.com/644515
|
|
|
| } // namespace android
|
|
|
|
|