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 --- native/android/input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'native/android/input.cpp') diff --git a/native/android/input.cpp b/native/android/input.cpp index c753aa527793..a96240c10e81 100644 --- a/native/android/input.cpp +++ b/native/android/input.cpp @@ -271,5 +271,5 @@ int32_t AInputQueue_preDispatchEvent(AInputQueue* queue, AInputEvent* event) { } void AInputQueue_finishEvent(AInputQueue* queue, AInputEvent* event, int handled) { - queue->finishEvent(event, handled != 0); + queue->finishEvent(event, handled != 0, false); } -- cgit v1.2.3