summaryrefslogtreecommitdiffstats
path: root/libs/ui/tests/InputDispatcher_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ui/tests/InputDispatcher_test.cpp')
-rw-r--r--libs/ui/tests/InputDispatcher_test.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ui/tests/InputDispatcher_test.cpp b/libs/ui/tests/InputDispatcher_test.cpp
index 8874dfe..f352dbf 100644
--- a/libs/ui/tests/InputDispatcher_test.cpp
+++ b/libs/ui/tests/InputDispatcher_test.cpp
@@ -67,6 +67,11 @@ private:
return false;
}
+ virtual bool dispatchUnhandledKey(const sp<InputChannel>& inputChannel,
+ const KeyEvent* keyEvent, uint32_t policyFlags) {
+ return false;
+ }
+
virtual void notifySwitch(nsecs_t when,
int32_t switchCode, int32_t switchValue, uint32_t policyFlags) {
}