Android: Fix JNI method defination.