summaryrefslogtreecommitdiff
path: root/libs/utils/Unicode.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2009-12-01 17:23:28 -0800
committer Mathias Agopian <mathias@google.com> 2009-12-01 17:23:28 -0800
commit0408772e34931351d062f2088b611325ddaa6cdb (patch)
tree20216060dace5fea9d84f39eae9d649091116745 /libs/utils/Unicode.cpp
parent18facb7c4d471e7a2d1e44f5ac1fcff056f96dcf (diff)
fix [2297155] SurfaceFlinger's freeze-timeout doesn't work
There was bug in the logic that calculated the relative timeout, the start time was reset each time an event was received, which caused the timeout to never occur if an application was constantly redrawing. Now we always check for a timeout when we come back from the waitEvent() and process the "anti-freeze" if needed, regardless of whether an event was received.
Diffstat (limited to 'libs/utils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions