You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
auto find main activity using AndroidManifest.xml
This commit is contained in:
@@ -280,11 +280,6 @@ static void open(GtkApplication *app, GFile** files, gint nfiles, const gchar* h
|
||||
|
||||
free(app_lib_dir);
|
||||
|
||||
if(!d->apk_main_activity_class) {
|
||||
printf("error: missing required option --launch-activity <activity>.\nyou can specify --help to see the list of options\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
set_up_handle_cache(env, d->apk_main_activity_class);
|
||||
|
||||
jclass display_class = (*env)->FindClass(env, "android/view/Display");
|
||||
|
||||
Reference in New Issue
Block a user