Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For privacy, the accuracy of precision of acceleration is rounded to 0.1 m/s². The new sensor "GRAVITY" is based on acceleration, but rounding is missing. This patch applies the same rounding for both and removes the "default" case. This will force creator of new SensorType to make an explicit decision in the future. +CC engedy@ who discussed this during security/privacy meeting. Bug: 1163993 Change-Id: I8d3ff04421794aed1899711f018bc579d2bf8200 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2684575 Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org> Reviewed-by: Reilly Grant <reillyg@chromium.org> Reviewed-by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> Reviewed-by: Balazs Engedy <engedy@chromium.org> Cr-Commit-Position: refs/heads/master@{#852328}
- Loading branch information