From 3915bb845b032dc184dba5e60970b803390ca3ed Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Fri, 5 Nov 2010 15:02:16 -0700 Subject: Tell system server whether the app handled input events. Refactored ViewRoot, NativeActivity and related classes to tell the dispatcher whether an input event was actually handled by the application. This will be used to move more of the global default key processing into the system server instead of the application. Change-Id: If06b98b6f45c543e5ac5b1eae2b3baf9371fba28 --- include/android_runtime/android_app_NativeActivity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/android_runtime') diff --git a/include/android_runtime/android_app_NativeActivity.h b/include/android_runtime/android_app_NativeActivity.h index 5dbec59..990143b 100644 --- a/include/android_runtime/android_app_NativeActivity.h +++ b/include/android_runtime/android_app_NativeActivity.h @@ -83,7 +83,7 @@ public: bool preDispatchEvent(AInputEvent* event); - void finishEvent(AInputEvent* event, bool handled); + void finishEvent(AInputEvent* event, bool handled, bool didDefaultHandling); // ---------------------------------------------------------- -- cgit v1.1