DescriptionDynamically register the power broadcast receiver.
There is no point in spinning up the Chrome process for
implicit power changes if the user is not actively using
it.
Switch to registering dynamically, also cleans up a few
things in PowerMonitor.
BUG=680765
Review-Url: https://codereview.chromium.org/2642333003
Cr-Commit-Position: refs/heads/master@{#445555}
Committed: https://chromium.googlesource.com/chromium/src/+/3ce3ab4abf8f44e6c8849ffea5ff2c0baf00ff48
Patch Set 1 #
Total comments: 2
Patch Set 2 : Rebase #Patch Set 3 : Assert on UI thread for creation #
Messages
Total messages: 10 (4 generated)
|