summaryrefslogtreecommitdiff
path: root/drm/common/DrmEngineBase.cpp
diff options
context:
space:
mode:
author Jeff Brown <jeffbrown@google.com> 2010-10-18 13:21:23 -0700
committer Jeff Brown <jeffbrown@google.com> 2010-10-18 14:50:13 -0700
commite2fe69edc009a0e0348e5351cf83062224e011ac (patch)
treebeb5873a0c09f8b6f5569ff158cadec5d5c69895 /drm/common/DrmEngineBase.cpp
parent45bd8303fe20f20843f5a76ddf42a5ace54add58 (diff)
Fix bug where home presses were not poking user activity.
We now poke user activity twice: once upon dequeueing an event for dispatch and then again just before we dispatch it. The second poke is to compensate for the fact that it can take a few seconds to identify the dispatch target (if the application is responding slowly) but we want to keep the display from going to sleep for X amount of time after the app gets a chance to actually receive the event. This mirrors pre-Gingerbread behavior. Removed some unnecessary code that filters user activity pokes when sending events to KeyGuard. We don't need this because KeyGuard already tells the power manager to disable user activity. Bug: 3101397 Change-Id: I8c3a77601fdef8f584e84cfdd11aa79da0ff51db
Diffstat (limited to 'drm/common/DrmEngineBase.cpp')
0 files changed, 0 insertions, 0 deletions