package io.flutter.embedding.android;

import android.os.Bundle;

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

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final String f27938a;

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

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

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

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

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

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

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

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

    public o(String str) {
        this.f27938a = str;
    }

    public final Bundle a() {
        Bundle bundle = new Bundle();
        bundle.putString("cached_engine_group_id", this.f27938a);
        bundle.putString("dart_entrypoint", this.f27939b);
        bundle.putString("initial_route", this.f27940c);
        bundle.putBoolean("handle_deeplinking", this.f27941d);
        RenderMode renderMode = this.f27942e;
        bundle.putString("flutterview_render_mode", renderMode != null ? renderMode.name() : "surface");
        TransparencyMode transparencyMode = this.f27943f;
        bundle.putString("flutterview_transparency_mode", transparencyMode != null ? transparencyMode.name() : "transparent");
        bundle.putBoolean("should_attach_engine_to_activity", this.f27944g);
        bundle.putBoolean("destroy_engine_with_fragment", true);
        bundle.putBoolean("should_automatically_handle_on_back_pressed", this.f27945h);
        bundle.putBoolean("should_delay_first_android_view_draw", this.f27946i);
        return bundle;
    }
}
