diff options
Diffstat (limited to 'core/jni/AndroidRuntime.cpp')
| -rw-r--r-- | core/jni/AndroidRuntime.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/core/jni/AndroidRuntime.cpp b/core/jni/AndroidRuntime.cpp index c00e6c9..8db7b24 100644 --- a/core/jni/AndroidRuntime.cpp +++ b/core/jni/AndroidRuntime.cpp @@ -115,6 +115,7 @@ extern int register_android_graphics_SurfaceTexture(JNIEnv* env); extern int register_android_graphics_Xfermode(JNIEnv* env); extern int register_android_graphics_PixelFormat(JNIEnv* env); extern int register_android_view_Display(JNIEnv* env); +extern int register_android_view_DisplayEventReceiver(JNIEnv* env); extern int register_android_view_GLES20Canvas(JNIEnv* env); extern int register_android_view_HardwareRenderer(JNIEnv* env); extern int register_android_view_Surface(JNIEnv* env); @@ -168,7 +169,7 @@ extern int register_android_app_backup_FullBackup(JNIEnv *env); extern int register_android_app_ActivityThread(JNIEnv *env); extern int register_android_app_NativeActivity(JNIEnv *env); extern int register_android_view_InputChannel(JNIEnv* env); -extern int register_android_view_InputQueue(JNIEnv* env); +extern int register_android_view_InputEventReceiver(JNIEnv* env); extern int register_android_view_KeyEvent(JNIEnv* env); extern int register_android_view_MotionEvent(JNIEnv* env); extern int register_android_view_PointerIcon(JNIEnv* env); @@ -708,7 +709,7 @@ int AndroidRuntime::startVm(JavaVM** pJavaVM, JNIEnv** pEnv) opt.optionString = enableAssertBuf; mOptions.add(opt); } else { - LOGV("Assertions disabled\n"); + ALOGV("Assertions disabled\n"); } if (jniOptsBuf[10] != '\0') { @@ -897,7 +898,7 @@ void AndroidRuntime::start(const char* className, const char* options) void AndroidRuntime::onExit(int code) { - LOGV("AndroidRuntime onExit calling exit(%d)", code); + ALOGV("AndroidRuntime onExit calling exit(%d)", code); exit(code); } @@ -1098,6 +1099,7 @@ static const RegJNIRec gRegJNI[] = { REG_JNI(register_android_os_SystemProperties), REG_JNI(register_android_os_Binder), REG_JNI(register_android_view_Display), + REG_JNI(register_android_view_DisplayEventReceiver), REG_JNI(register_android_nio_utils), REG_JNI(register_android_graphics_PixelFormat), REG_JNI(register_android_graphics_Graphics), @@ -1192,7 +1194,7 @@ static const RegJNIRec gRegJNI[] = { REG_JNI(register_android_app_ActivityThread), REG_JNI(register_android_app_NativeActivity), REG_JNI(register_android_view_InputChannel), - REG_JNI(register_android_view_InputQueue), + REG_JNI(register_android_view_InputEventReceiver), REG_JNI(register_android_view_KeyEvent), REG_JNI(register_android_view_MotionEvent), REG_JNI(register_android_view_PointerIcon), @@ -1217,7 +1219,7 @@ static const RegJNIRec gRegJNI[] = { */ androidSetCreateThreadFunc((android_create_thread_fn) javaCreateThreadEtc); - LOGV("--- registering native functions ---\n"); + ALOGV("--- registering native functions ---\n"); /* * Every "register" function calls one or more things that return |
