diff options
author | Jeff Brown <jeffbrown@google.com> | 2010-06-30 14:41:59 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2010-06-30 14:41:59 -0700 |
commit | c393eb6cf5f5685d4dc1ddaa04136475536acccf (patch) | |
tree | ffc72881725acd102cf73d072895c0598763c3a8 /include | |
parent | 8154265bf1a5d4e84b8886d328a26f7fdd9e726d (diff) | |
download | frameworks_native-c393eb6cf5f5685d4dc1ddaa04136475536acccf.zip frameworks_native-c393eb6cf5f5685d4dc1ddaa04136475536acccf.tar.gz frameworks_native-c393eb6cf5f5685d4dc1ddaa04136475536acccf.tar.bz2 |
Fix injection of specially intercepted keys like HOME.
This change mainly unwinds a premature optimization in the
dispatch pipeline.
To test HOME injection, run 'adb shell input keyevent 3'.
Change-Id: I1c4b7377c205da7c898014b8b07fc6dc1d46e4dd
Diffstat (limited to 'include')
-rw-r--r-- | include/ui/Input.h | 3 | ||||
-rw-r--r-- | include/ui/InputReader.h | 4 |
2 files changed, 0 insertions, 7 deletions
diff --git a/include/ui/Input.h b/include/ui/Input.h index 214f587..a2e0ba0 100644 --- a/include/ui/Input.h +++ b/include/ui/Input.h @@ -87,9 +87,6 @@ enum { // Indicates that the screen was dim when the event was received and the event // should brighten the device. POLICY_FLAG_BRIGHT_HERE = 0x20000000, - - // Indicates that the dispatcher should call back into the policy before dispatching. */ - POLICY_FLAG_INTERCEPT_DISPATCH = 0x40000000, }; /* diff --git a/include/ui/InputReader.h b/include/ui/InputReader.h index 8f6777d..781da35 100644 --- a/include/ui/InputReader.h +++ b/include/ui/InputReader.h @@ -371,10 +371,6 @@ public: // The input dispatcher should add POLICY_FLAG_BRIGHT_HERE to the policy flags it // passes through the dispatch pipeline. ACTION_BRIGHT_HERE = 0x00000008, - - // The input dispatcher should add POLICY_FLAG_INTERCEPT_DISPATCH to the policy flags - // it passed through the dispatch pipeline. - ACTION_INTERCEPT_DISPATCH = 0x00000010 }; /* Describes a virtual key. */ |