commit | 5f53f6fb575d2ed86aaa65fbbf19fdcd9e438fb5 | [log] [tgz] |
---|---|---|
author | Jun Cai <juncai@chromium.org> | Fri Mar 09 18:29:24 2018 |
committer | Jun Cai <juncai@chromium.org> | Fri Mar 09 18:29:24 2018 |
tree | cdf21b493d791fe006177f11c5d95f259ab97ed8 | |
parent | 82bfc66efc00087074e8ce739195b5f95084624e [diff] |
Override PlatformSensor::GetMaximumSupportedFrequency() in PlatformSensorFusion This is a follow-up CL for: https://chromium-review.googlesource.com/c/chromium/src/+/879586 which clamps sensor frequency to maximum supported frequency. However, for fusion sensor, it needs to override PlatformSensor::GetMaximumSupportedFrequency(), otherwise it will get 5Hz as default. This has caused DeviceOrientation API to report sensor data in a low frequency. This CL fixes this issue. Bug: 819413 Change-Id: Ib7c888227d3a09c7df281c06a7dbb3290de34d4f Reviewed-on: https://chromium-review.googlesource.com/953127 Reviewed-by: Reilly Grant <reillyg@chromium.org> Commit-Queue: Jun Cai <juncai@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#541840}(cherry picked from commit 89fd25bc1ec30c17939a50684df8fbc84746d961) Reviewed-on: https://chromium-review.googlesource.com/957104 Reviewed-by: Jun Cai <juncai@chromium.org> Cr-Commit-Position: refs/branch-heads/3359@{#133} Cr-Branched-From: 66afc5e5d10127546cc4b98b9117aff588b5e66b-refs/heads/master@{#540276}
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 .