commit | f83570cba98776df78b473b4e6bdaa709215b1ed | [log] [tgz] |
---|---|---|
author | Dominik Laskowski <domlaskowski@google.com> | Mon Aug 26 12:04:07 2019 -0700 |
committer | Dominik Laskowski <domlaskowski@google.com> | Mon Aug 26 12:13:42 2019 -0700 |
tree | 9d5b9ea32a7afc04a5ac470b9429bc27e12d178f | |
parent | 13db07b6bcccb58ce51a385399e7288aaab0e077 [diff] |
SF: Fix threshold for next VSYNC If debug.sf.phase_offset_threshold_for_next_vsync_ns is not set, the threshold is set to the maximum nsecs_t value. A narrowing conversion caused the value to overflow to -1, leading to garbage phase offsets. Bug: 138813900 Bug: 139284671 Bug: 138942712 Test: dumpsys SurfaceFlinger --vsync Test: atest google/perf/app-transition/app-transition-cold Change-Id: Ib7f732be95d16d29f4a71602b56795bee09be37b