fixes for NewPipe version 0.28.0

This commit is contained in:
Julian Winkler
2025-08-31 11:10:40 +02:00
committed by Mis012
parent d52985a6df
commit e7318f0757
8 changed files with 30 additions and 12 deletions

View File

@@ -243,6 +243,8 @@ void atl_safe_gtk_widget_queue_resize(GtkWidget *widget)
}
GVariant *intent_serialize(JNIEnv *env, jobject intent) {
if (!intent)
return NULL;
jstring action_jstr = _GET_OBJ_FIELD(intent, "action", "Ljava/lang/String;");
jobject component = _GET_OBJ_FIELD(intent, "component", "Landroid/content/ComponentName;");
jstring className_jstr = component ? _GET_OBJ_FIELD(component, "mClass", "Ljava/lang/String;") : NULL;