summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/16/changes
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-06-14 19:03:44 -0700
committerJeff Brown <jeffbrown@google.com>2012-06-14 20:33:42 -0700
commit858491ba13ab5d45a5ec462d002b5856703b1b2b (patch)
tree45cae93b69d1c317cef3578028013cee16fe642f /docs/html/sdk/api_diff/16/changes
parent82134f76936be049cc4b23a894ba7decc1d59952 (diff)
Synthesize fake vsyncs when the screen is off.
When the screen is off, we might not receive real vsync pulses from the hardware which would cause posted Choreographer callbacks to not run. This is bad because messages in the Looper might be blocked behind a barrier that is scheduled to be removed by one of those Choreographer callback (see ViewRootImpl.doTraversals). Until the barrier is removed, those messages will not run. To prevent starvation of the Looper, we synthesize fake vsync pulses at a reduced rate whenever the display hardware stops generating them. This change should fix a variety of rare non-deterministic bugs where the system might appear to be unresponsive while the screen is off, and spurious ANRs reported shortly after the screen is turned back on. Bug: 6574842 Bug: 6636995 Bug: 6643559 Change-Id: I263f2fdf979afd79e5ac47a0cc5d34a93b860c21
Diffstat (limited to 'docs/html/sdk/api_diff/16/changes')
0 files changed, 0 insertions, 0 deletions