summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-09-15 15:18:56 -0700
committerJeff Brown <jeffbrown@google.com>2010-09-15 18:52:08 -0700
commit53a415e6d1661d3d6278542c960f8d0cf62f6f42 (patch)
treed4470d8a8b9724123ef106f099c6a1a125a898df /opengl/tests/gl_basic/gl_basic.cpp
parent15caeb81ad4195a3e6fae7610915bd83b2edd903 (diff)
Make input dispatcher only ANR for foreground windows.
Redesigned the input dispatcher's ANR timeout mechanism so it is much closer to Froyo's policy. ANR is only ever signalled if the dispatcher is waiting on a window to finish processing its previous event(s) and there is new pending input. In the old code, we tracked the dispatch timeout separately for each input channel. This was somewhat complicated and also resulted in the situation where applications could ANR long after the user had pushed them into the background. Change-Id: I666ecada0952d4b95f1d67b9f733842b745c7f4b
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions