commit | f77dd4080f61d859e741f16af53f6a95a84a2489 | [log] [tgz] |
---|---|---|
author | Jun Cai <juncai@chromium.org> | Fri Jan 26 18:24:32 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jan 26 18:24:32 2018 |
tree | 338ac40aeee661e6e0b05cb6e4a0aff7fe91a078 | |
parent | 495668dec1b4bc3a38d6154c4736c018d758e738 [diff] |
[DeviceOrientation] Clamp to maximum supported frequency Currently, the device motion/orientation event pump requests the sensor data reporting frequency to be 60Hz. However on some devices, this frequency is larger than the maximum frequency the device can provide. This CL modifies device event pump code to set the sensor frequency not exceed the maximum frequency the platform supports. Bug: 796518 Change-Id: I1cd6215f3b35498482ed3ca26cd9b44d4eb7eb1e Reviewed-on: https://chromium-review.googlesource.com/879586 Reviewed-by: Pavel Feldman <pfeldman@chromium.org> Reviewed-by: Reilly Grant <reillyg@chromium.org> Commit-Queue: Jun Cai <juncai@chromium.org> Cr-Commit-Position: refs/heads/master@{#532022}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .