Hello i've been trying to call a JNI library in Android Keyguard
(frameworks/base/packages/SystemUI). I was able to do it in Android
Settings but now I need it to be called in Keyguard. Currently, the
Shared object is being built. It's located in the /system/lib64 (my one
used in android settings is also located in the 32 bit lib) location.
It's not being called when I'm supposed to use it. No errors are shown
on logcat saying that the jni is missing.
My Android.mk File in the /jni folder.
LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS)
LOCAL_MULTILIB := both
LOCAL_MODULE := liblock-jni
LOCAL_SRC_FILES := lock-jni.c
LOCAL_CFLAGS +=-O0 -g3
This is the declaration in my function for the java class.