commit | 26947f590d1526ea0cf3d485382da6dc1a068ec5 | [log] [tgz] |
---|---|---|
author | alexis.menard <alexis.menard@intel.com> | Thu Dec 01 01:14:58 2016 |
committer | Commit bot <commit-bot@chromium.org> | Thu Dec 01 01:21:01 2016 |
tree | d10d63b712950132ecc1e1b8076ff6163bf4882d | |
parent | 09057c54923af5745b85c30e86290643d0fdac7a [diff] |
[sensors] [win] Fix ambient light not working properly on Windows 10. The event listener was never called despite SetEventSink returning success. Debbuging further it turns out that the event listener was created in the sensor thread, however the listener was not set in the sensor thread (from StartSensor()), this seems to confuse COM. BUG=606766 Review-Url: https://codereview.chromium.org/2495073002 Cr-Commit-Position: refs/heads/master@{#435513}