OSDN Git Service

Only monitor recognized uevent devices.
authorSean McNeil <sean.mcneil@windriver.com>
Wed, 23 Jun 2010 09:00:37 +0000 (16:00 +0700)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 29 Oct 2010 07:45:15 +0000 (15:45 +0800)
commit0332c91d466e8f10a32c849950450af144421b3c
treee4daf8a5e0afad4f581549f23c6a4a104b6d94f2
parent9d8c715014b9f034e38a07e60c253e2324e5caa2
Only monitor recognized uevent devices.

system_server can potentially monitor uevent devices that are
of no use to it. For instance, an accelerometer implementation
as uevents. This would cause the process to be busy when
unnecessary. If a device cannot be classified, don't monitor it.

Change-Id: I489cc453bdce7cb376102cba67a9ea470e13292d
libs/ui/EventHub.cpp