commit | e20c9e0264190f94324197a8271cf03811a4ca58 | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Mon Oct 11 14:20:19 2010 -0700 |
committer | Jeff Brown <jeffbrown@google.com> | Mon Oct 11 17:54:12 2010 -0700 |
tree | e482829d555d313e57ead50bc24102897dde9b36 | |
parent | 182e5cf105aa71effbdee15628f020214b54774c [diff] |
Fix an event injection bug when the policy is bypassed. Added the concept of a "trusted" event to distinguish between events from attached input devices or trusted injectors vs. other applications. This change enables us to move certain policy decisions out of the dispatcher and into the policy itself where they can be handled more systematically. Cherry pick of b931a1b4 from gingerbread into master. Change-Id: I700a5f07b8b227878cea9437a289a45a245c0424