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)
committerJean-Baptiste Queru <jbq@google.com>
Mon, 23 Aug 2010 19:54:30 +0000 (12:54 -0700)
commit39f04ee5cfe996337971f7a393d430449ee72e03
treea298995a015476dc711bb2aa6287775665e02d2c
parent5dda1d924543904009ab73c30f3f8b8d6a57c204
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