diff options
-rw-r--r-- | include/ui/Input.h | 3 | ||||
-rw-r--r-- | include/ui/InputReader.h | 4 | ||||
-rw-r--r-- | libs/ui/InputReader.cpp | 4 |
3 files changed, 0 insertions, 11 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. */ diff --git a/libs/ui/InputReader.cpp b/libs/ui/InputReader.cpp index 217c597..899027c 100644 --- a/libs/ui/InputReader.cpp +++ b/libs/ui/InputReader.cpp @@ -1639,10 +1639,6 @@ bool InputReader::applyStandardInputDispatchPolicyActions(nsecs_t when, *policyFlags |= POLICY_FLAG_BRIGHT_HERE; } - if (policyActions & InputReaderPolicyInterface::ACTION_INTERCEPT_DISPATCH) { - *policyFlags |= POLICY_FLAG_INTERCEPT_DISPATCH; - } - return policyActions & InputReaderPolicyInterface::ACTION_DISPATCH; } |