make sure the apk path is reliably set in the PackageInfo

This commit is contained in:
Mis012
2024-06-19 20:47:49 +02:00
parent 6832f5d16e
commit 92e2c06347
4 changed files with 22 additions and 9 deletions

View File

@@ -9,6 +9,14 @@ extern "C" {
#endif
#undef android_content_Context_MODE_PRIVATE
#define android_content_Context_MODE_PRIVATE 0L
/*
* Class: android_content_Context
* Method: native_get_apk_path
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_android_content_Context_native_1get_1apk_1path
(JNIEnv *, jclass);
/*
* Class: android_content_Context
* Method: native_updateConfig