api-impl: misc stubs/additions

This commit is contained in:
Mis012
2024-11-30 18:49:11 +01:00
parent 39504d1437
commit 0803848c6d
18 changed files with 206 additions and 39 deletions

View File

@@ -159,7 +159,6 @@ void activity_start(JNIEnv *env, jobject activity_object)
activity_backlog = g_list_prepend(activity_backlog, _REF(activity_object));
activity_update_current(env);
}
JNIEXPORT void JNICALL Java_android_app_Activity_nativeFinish(JNIEnv *env, jobject this, jlong window)

View File

@@ -9,6 +9,10 @@ extern "C" {
#endif
#undef android_app_Activity_MODE_PRIVATE
#define android_app_Activity_MODE_PRIVATE 0L
#undef android_app_Activity_RESULT_CANCELED
#define android_app_Activity_RESULT_CANCELED 0L
#undef android_app_Activity_RESULT_OK
#define android_app_Activity_RESULT_OK -1L
/*
* Class: android_app_Activity
* Method: nativeFinish