package io.flutter.embedding.android;

import android.os.Bundle;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;

/* JADX INFO: loaded from: classes.dex */
public final class n {

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public List f27928c;

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public String f27926a = "main";

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public String f27927b = null;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public String f27929d = "/";

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public boolean f27930e = false;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public String f27931f = null;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public xyz.stream.utils.a0 f27932g = null;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public RenderMode f27933h = RenderMode.f27880a;

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    public TransparencyMode f27934i = TransparencyMode.f27884b;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public boolean f27935j = true;

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public boolean f27936k = false;

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public boolean f27937l = false;

    public final Bundle a() {
        Bundle bundle = new Bundle();
        bundle.putString("initial_route", this.f27929d);
        bundle.putBoolean("handle_deeplinking", this.f27930e);
        bundle.putString("app_bundle_path", this.f27931f);
        bundle.putString("dart_entrypoint", this.f27926a);
        bundle.putString("dart_entrypoint_uri", this.f27927b);
        bundle.putStringArrayList("dart_entrypoint_args", this.f27928c != null ? new ArrayList<>(this.f27928c) : null);
        xyz.stream.utils.a0 a0Var = this.f27932g;
        if (a0Var != null) {
            bundle.putStringArray("initialization_args", (String[]) ((Set) a0Var.f36098a).toArray(new String[((Set) a0Var.f36098a).size()]));
        }
        RenderMode renderMode = this.f27933h;
        bundle.putString("flutterview_render_mode", renderMode != null ? renderMode.name() : "surface");
        TransparencyMode transparencyMode = this.f27934i;
        bundle.putString("flutterview_transparency_mode", transparencyMode != null ? transparencyMode.name() : "transparent");
        bundle.putBoolean("should_attach_engine_to_activity", this.f27935j);
        bundle.putBoolean("destroy_engine_with_fragment", true);
        bundle.putBoolean("should_automatically_handle_on_back_pressed", this.f27936k);
        bundle.putBoolean("should_delay_first_android_view_draw", this.f27937l);
        return bundle;
    }
}
