fixes for android-8 rebase of dalvik_standalone

detect bootclasspath jar path automatically from dalvik_standalone
This commit is contained in:
Julian Winkler
2023-05-20 12:26:19 +02:00
parent 55098136dc
commit 0baddd9fe8
7 changed files with 34 additions and 25 deletions

View File

@@ -296,7 +296,7 @@ static void open(GtkApplication *app, GFile** files, gint nfiles, const gchar* h
// some apps need the apk path since they directly read their apk
jclass context_class = (*env)->FindClass(env, "android/content/Context");
_SET_STATIC_OBJ_FIELD(context_class, "apk_path", "java/lang/String", _JSTRING(apk_classpath));
_SET_STATIC_OBJ_FIELD(context_class, "apk_path", "Ljava/lang/String;", _JSTRING(apk_classpath));
FIXME__WIDTH = d->window_width;
FIXME__HEIGHT = d->window_height;