-
liberato@chromium.org authored
AndroidBatteryMetrics required an application state change before switching from UNKNOWN to the current state, which prevents it from recording metrics on browser startup immediately. This CL changes the behavior to check the application state on startup, so that recording can begin immediately. Change-Id: Iaec5a175ea3f367b30d1fd95414dcc5e67573315 Bug: 1113311 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2333090 Commit-Queue: Frank Liberato <liberato@chromium.org> Reviewed-by:
Ted Choc <tedchoc@chromium.org> Reviewed-by:
Eric Seckler <eseckler@chromium.org> Cr-Commit-Position: refs/heads/master@{#795154}
be8cbe9e