summaryrefslogtreecommitdiffstats
path: root/core/jni/Android.mk
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2013-03-26 15:42:39 -0700
committerJeff Brown <jeffbrown@google.com>2013-03-26 15:42:39 -0700
commitc28867a1d67121ce5963de135e3ae2b1dbd9a33d (patch)
tree95da9070093882f0b95ee197f45f5b4a5e348d96 /core/jni/Android.mk
parent37f180b4a52e4c1d0b6a7b400b6579b7ff25f307 (diff)
downloadframeworks_base-c28867a1d67121ce5963de135e3ae2b1dbd9a33d.zip
frameworks_base-c28867a1d67121ce5963de135e3ae2b1dbd9a33d.tar.gz
frameworks_base-c28867a1d67121ce5963de135e3ae2b1dbd9a33d.tar.bz2
Use input transport for communications between app and IME.
The input method manager service now supplies an input channel for communication while creating an IME session on behalf of the application. This change significanly reduces the overhead of IME event dispatch by using a standard input channel to send input events rather than using binder. This results in fewer thread context switches and fewer object allocations. What's more, the IME may perform additional batching of the motion events that it receives which may help it catch up if it is getting behind while processing them. Bug: 7984576 Bug: 8473020 Change-Id: Ibe26311edd0060cdcae80194f1753482e635786f
Diffstat (limited to 'core/jni/Android.mk')
-rw-r--r--core/jni/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/jni/Android.mk b/core/jni/Android.mk
index 1e27be8..66cea9d7 100644
--- a/core/jni/Android.mk
+++ b/core/jni/Android.mk
@@ -44,6 +44,7 @@ LOCAL_SRC_FILES:= \
android_view_InputChannel.cpp \
android_view_InputDevice.cpp \
android_view_InputEventReceiver.cpp \
+ android_view_InputEventSender.cpp \
android_view_KeyEvent.cpp \
android_view_KeyCharacterMap.cpp \
android_view_HardwareRenderer.cpp \