commit | 28cd84c55e4fc6c1789fca46a4e23d2c4b90f517 | [log] [tgz] |
---|---|---|
author | alexander.shalamov <alexander.shalamov@intel.com> | Tue Oct 04 12:06:55 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Oct 04 12:10:16 2016 |
tree | 19cc1bd0214af2f183c46d889a0040e98015d25f | |
parent | e9c97a0e4aa14a2473395a5c8dade22ce91c5729 [diff] |
[sensors] Dispatch sensor events using postTask In order to avoid re-entrancy issues, this CL modifies sensor event dispatching code and uses postTask to schedule event dispatch. New test is added to ambient-light-sensor.html that checks if generic sensor code works correctly when sensor is not supported BUG=606766 Review-Url: https://codereview.chromium.org/2381913002 Cr-Commit-Position: refs/heads/master@{#422761}