package io.flutter.embedding.android;

import android.os.Bundle;

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

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

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

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

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

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

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

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

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

    public m(String str) {
        this.f27918a = str;
    }

    public final Bundle a() {
        Bundle bundle = new Bundle();
        bundle.putString("cached_engine_id", this.f27918a);
        bundle.putBoolean("destroy_engine_with_fragment", this.f27919b);
        bundle.putBoolean("handle_deeplinking", this.f27920c);
        RenderMode renderMode = this.f27921d;
        bundle.putString("flutterview_render_mode", renderMode != null ? renderMode.name() : "surface");
        TransparencyMode transparencyMode = this.f27922e;
        bundle.putString("flutterview_transparency_mode", transparencyMode != null ? transparencyMode.name() : "transparent");
        bundle.putBoolean("should_attach_engine_to_activity", this.f27923f);
        bundle.putBoolean("should_automatically_handle_on_back_pressed", this.f27924g);
        bundle.putBoolean("should_delay_first_android_view_draw", this.f27925h);
        return bundle;
    }
}
