diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/app.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -35,7 +35,7 @@ main(int argc, const char *argv[]) struct jvm jvm; jvm_init(&jvm); - const jobject context = jvm.native.AllocObject(&jvm.env, jvm.native.FindClass(&jvm.env, "android/content/Context")); + const jobject context = jvm.native.AllocObject(&jvm.env, jvm.native.FindClass(&jvm.env, "android/app/Activity")); jint (*JNI_OnLoad)(void*, void*) = bionic_dlsym(handle, "JNI_OnLoad"); assert(JNI_OnLoad); |