summaryrefslogtreecommitdiff
path: root/include/ui/InputDispatcher.h
diff options
context:
space:
mode:
author Jeff Brown <jeffbrown@google.com> 2010-10-11 16:27:36 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2010-10-11 16:27:36 -0700
commit1da8d4d1697cec871dea8c30dad67e90db10bde6 (patch)
tree9a9fe2f4a87edb3e0816ef5b28f1076e476803e8 /include/ui/InputDispatcher.h
parent44104df10660c711129fd263364afc2174f40ac2 (diff)
parentb931a1b4183386ba840edc1bcc507eccf11b5cbe (diff)
Merge "Fix an event injection bug when the policy is bypassed." into gingerbread
Diffstat (limited to 'include/ui/InputDispatcher.h')
-rw-r--r--include/ui/InputDispatcher.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/ui/InputDispatcher.h b/include/ui/InputDispatcher.h
index 0834e8650532..3599163d1b82 100644
--- a/include/ui/InputDispatcher.h
+++ b/include/ui/InputDispatcher.h
@@ -913,7 +913,6 @@ private:
void drainInboundQueueLocked();
void releasePendingEventLocked();
void releaseInboundEventLocked(EventEntry* entry);
- bool isEventFromTrustedSourceLocked(EventEntry* entry);
// Dispatch state.
bool mDispatchEnabled;
@@ -960,10 +959,10 @@ private:
nsecs_t currentTime, ConfigurationChangedEntry* entry);
bool dispatchKeyLocked(
nsecs_t currentTime, KeyEntry* entry, nsecs_t keyRepeatTimeout,
- bool dropEvent, nsecs_t* nextWakeupTime);
+ DropReason* dropReason, nsecs_t* nextWakeupTime);
bool dispatchMotionLocked(
nsecs_t currentTime, MotionEntry* entry,
- bool dropEvent, nsecs_t* nextWakeupTime);
+ DropReason* dropReason, nsecs_t* nextWakeupTime);
void dispatchEventToCurrentInputTargetsLocked(
nsecs_t currentTime, EventEntry* entry, bool resumeWithAppendedMotionSample);