diff options
| author | 2020-01-08 12:08:11 -0800 | |
|---|---|---|
| committer | 2020-01-09 20:04:03 +0100 | |
| commit | 090d42c752c3531ad69ec39bb876b1e1ba755a94 (patch) | |
| tree | 97b5837b4158e9cf605791a32a32915d1b74fa4c /libs/gui/ConsumerBase.cpp | |
| parent | e950a4e1e932e95b78e757be811ac8e85993bd47 (diff) | |
SurfaceFlinger: use margin when comparing fps in PhaseOffsets
To avoid any incorrect float equality due to precision errors
use 0.01Hz margin.
Test: adb shell /data/nativetest64/libsurfaceflinger_unittest/libsurfaceflinger_unittest
Bug: 147358911
Change-Id: Ief43eb7b5064b250a6255fd41542640d9c77529d
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions