Update WakeLock policy for RTCPeerConnections.
This CL changes the policy so that the WakeLock is enabled only when an RTCPeerConnection becomes connected. Previously the WakeLock was enabled as soon as the RTCPeerConnection was created. This caused problems for some users, since some sites create peer connections that are never connected and are only closed when the peer connection is removed. Bug: 866200 Change-Id: I47e573f9555960c1a64a0f9834afb9d5dc048a94 Reviewed-on: https://chromium-review.googlesource.com/c/1315210Reviewed-by:Henrik Boström <hbos@chromium.org> Reviewed-by:
Harald Alvestrand <hta@chromium.org> Commit-Queue: Guido Urdaneta <guidou@chromium.org> Cr-Commit-Position: refs/heads/master@{#608905}
Showing
This diff is collapsed.
Please register or sign in to comment