NativeActivity: cooperate with nativebridge when it's in use

This commit is contained in:
Mis012
2024-11-30 18:51:59 +01:00
parent 9f244edc05
commit f61f200d7b
2 changed files with 28 additions and 3 deletions

View File

@@ -9,6 +9,10 @@ extern "C" {
#endif
#undef android_app_NativeActivity_MODE_PRIVATE
#define android_app_NativeActivity_MODE_PRIVATE 0L
#undef android_app_NativeActivity_RESULT_CANCELED
#define android_app_NativeActivity_RESULT_CANCELED 0L
#undef android_app_NativeActivity_RESULT_OK
#define android_app_NativeActivity_RESULT_OK -1L
/*
* Class: android_app_NativeActivity
* Method: loadNativeCode