commit | b29ba0d062280291845dd8a5bd9dc052e439bbb5 | [log] [tgz] |
---|---|---|
author | Jun Cai <juncai@chromium.org> | Mon Jan 29 18:33:22 2018 |
committer | Jun Cai <juncai@chromium.org> | Mon Jan 29 18:33:22 2018 |
tree | cf7de47a9644d493ea6326ee8a6deb76c444d749 | |
parent | 338650d93d3aa88c2ec9ace040e8f10f23ee2a38 [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. TBR=juncai@chromium.org (cherry picked from commit f77dd4080f61d859e741f16af53f6a95a84a2489) 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-Original-Commit-Position: refs/heads/master@{#532022} Reviewed-on: https://chromium-review.googlesource.com/891678 Reviewed-by: Jun Cai <juncai@chromium.org> Cr-Commit-Position: refs/branch-heads/3325@{#143} Cr-Branched-From: bc084a8b5afa3744a74927344e304c02ae54189f-refs/heads/master@{#530369}
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 .