diff options
| author | Jeff Brown <jeffbrown@google.com> | 2010-10-18 15:13:33 -0700 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-10-18 15:13:33 -0700 |
| commit | 7689dd4928d1cc4080e43f83a523521b5ecf44e5 (patch) | |
| tree | dfcf2be395e3dac50c22870d2f42c9cbb3cc623a /include | |
| parent | d68cda472a3646966a203338ccac04f0783293b7 (diff) | |
| parent | e2fe69edc009a0e0348e5351cf83062224e011ac (diff) | |
| download | frameworks_base-7689dd4928d1cc4080e43f83a523521b5ecf44e5.zip frameworks_base-7689dd4928d1cc4080e43f83a523521b5ecf44e5.tar.gz frameworks_base-7689dd4928d1cc4080e43f83a523521b5ecf44e5.tar.bz2 | |
Merge "Fix bug where home presses were not poking user activity." into gingerbread
Diffstat (limited to 'include')
| -rw-r--r-- | include/ui/InputDispatcher.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/ui/InputDispatcher.h b/include/ui/InputDispatcher.h index 4955d47..b0b855e 100644 --- a/include/ui/InputDispatcher.h +++ b/include/ui/InputDispatcher.h @@ -109,9 +109,6 @@ struct InputTarget { // (ignored for KeyEvents) float xOffset, yOffset; - // The window type of the input target. - int32_t windowType; - // The subset of pointer ids to include in motion events dispatched to this input target // if FLAG_SPLIT is set. BitSet32 pointerIds; @@ -1004,8 +1001,7 @@ private: void addWindowTargetLocked(const InputWindow* window, int32_t targetFlags, BitSet32 pointerIds); void addMonitoringTargetsLocked(); - bool shouldPokeUserActivityForCurrentInputTargetsLocked(); - void pokeUserActivityLocked(nsecs_t eventTime, int32_t eventType); + void pokeUserActivityLocked(const EventEntry* eventEntry); bool checkInjectionPermission(const InputWindow* window, const InjectionState* injectionState); bool isWindowObscuredAtPointLocked(const InputWindow* window, int32_t x, int32_t y) const; bool isWindowFinishedWithPreviousInputLocked(const InputWindow* window); |
