OSDN Git Service

drop keyevents when Surfaceflinger give up the screen
authorChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 8 Feb 2011 08:39:15 +0000 (16:39 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 8 Feb 2011 08:39:15 +0000 (16:39 +0800)
commit2442d49d629f1ce5d9d3bb4914242422246a7e8e
treeae4573aa58e83938efefde90f9a286e2b73ae6b7
parent9a9325ae662adbbee531a3dd448f8ab80f14c6c6
drop keyevents when Surfaceflinger give up the screen

It fixes the 100% CPU usage problem switching to Alt-F1 console.
libs/ui/EventHub.cpp