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
fixes for NewPipe version 0.28.0
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user