Quantize sensor values to protect user privacy.
Round sensor values to multiples of a reasonably small value to protect user privacy. This makes the readings slightly less accurate, but protects users from fingerprinting attacks which might allow a site to generate a unique id based on the sensor calibration data. The affected sensors are: 1. ACCELEROMETER. 2. LINEAR_ACCELERATION. 3. GYROSCOPE. 4. ORIENTATION (Euler & Quaternion, absolute & relative). Bug: 1018180, 1031190 Change-Id: Iafe84ec9fcf12cfdfde1898da011d63dd419bfa4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2003614Reviewed-by:Reilly Grant <reillyg@chromium.org> Reviewed-by:
Vincent Scheib <scheib@chromium.org> Reviewed-by:
Kai Ninomiya <kainino@chromium.org> Reviewed-by:
Brandon Jones <bajones@chromium.org> Commit-Queue: Chris Mumford <cmumford@google.com> Cr-Commit-Position: refs/heads/master@{#746199}
Showing
Please register or sign in to comment