commit | 0eb2d398669bf11207c0fb22b11439250da0c8dc | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Mon Jul 06 12:56:50 2015 -0700 |
committer | Dan Stoza <stoza@google.com> | Mon Jul 06 13:15:25 2015 -0700 |
tree | dda1c1aff43320bb0320796a9b01bcf8888eddd5 | |
parent | 56105b2f72761dec62699db5d61570971fdf6580 [diff] |
SF: Ignore PTS more than one second in the future Some of this logic already existed, but when we optimized SurfaceFlinger to avoid unnecessary wake-ups, we didn't carry the logic over into the new readiness test. shouldPresentNow now returns true if the timestamp is more than a second in the future (since it's likely a bogus timestamp and should be ignored). Bug: 21932760 Change-Id: Ib50970a4eb621588c0b60766c8d8d1a8bddf853b