diff options
| author | 2020-03-20 10:46:15 -0400 | |
|---|---|---|
| committer | 2020-04-22 12:09:40 -0400 | |
| commit | 12924868ccbadcffc67a936d181ad1861c94f70a (patch) | |
| tree | 9311f052d438e0c7c733a7071b40d8e3585084a8 /services/surfaceflinger/SurfaceFlinger.cpp | |
| parent | d838f6933d325bde1ee769cac1c58561a92b69f4 (diff) | |
V2: Use resolution to round sensor event values
Add method to utilize a sensor's specified resolution value to ensure
data isn't provided that is more fine-grained than expected. This
helps mitigate sensor calibration fingerprinting attacks.
Bug: 147725937
Test: Verify accel sensor data isn't more fine grained than its
specified resolution
Test: Verify that the max range specified is a multiple of the
resolution
Change-Id: I30ff66d9deb10c84319a63f9964477d8e469650d
Diffstat (limited to 'services/surfaceflinger/SurfaceFlinger.cpp')
0 files changed, 0 insertions, 0 deletions