package com.vinfast.companion.notification.ui.theftalert.history;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public abstract class Hilt_TheftAlertDetailUserHistoryFragment extends com.vinfast.companion.notification.ui.theftalert.message.TheftAlertDetailMessageFragment {
    private android.content.ContextWrapper I;
    private boolean J;
    private boolean K = false;

    private void e0() {
        if (this.I == null) {
            this.I = dagger.hilt.android.internal.managers.FragmentComponentManager.b(super.getContext(), this);
            this.J = dagger.hilt.android.flags.FragmentGetContextFix.a(super.getContext());
        }
    }

    @Override // com.vinfast.companion.notification.ui.theftalert.message.Hilt_TheftAlertDetailMessageFragment, com.vinfast.companion.notification.ui.theftalert.detail.Hilt_TheftAlertDetailFragment
    protected void f0() {
        if (this.K) {
            return;
        }
        this.K = true;
        ((com.vinfast.companion.notification.ui.theftalert.history.TheftAlertDetailUserHistoryFragment_GeneratedInjector) ((dagger.hilt.internal.GeneratedComponentManagerHolder) dagger.hilt.internal.UnsafeCasts.a(this)).J()).j((com.vinfast.companion.notification.ui.theftalert.history.TheftAlertDetailUserHistoryFragment) dagger.hilt.internal.UnsafeCasts.a(this));
    }

    @Override // com.vinfast.companion.notification.ui.theftalert.message.Hilt_TheftAlertDetailMessageFragment, com.vinfast.companion.notification.ui.theftalert.detail.Hilt_TheftAlertDetailFragment
    public android.content.Context getContext() {
        if (super.getContext() == null && !this.J) {
            return null;
        }
        e0();
        return this.I;
    }

    @Override // com.vinfast.companion.notification.ui.theftalert.message.Hilt_TheftAlertDetailMessageFragment, com.vinfast.companion.notification.ui.theftalert.detail.Hilt_TheftAlertDetailFragment
    public void onAttach(android.content.Context context) {
        super.onAttach(context);
        e0();
        f0();
    }

    @Override // com.vinfast.companion.notification.ui.theftalert.message.Hilt_TheftAlertDetailMessageFragment, com.vinfast.companion.notification.ui.theftalert.detail.Hilt_TheftAlertDetailFragment
    public android.view.LayoutInflater onGetLayoutInflater(android.os.Bundle bundle) {
        android.view.LayoutInflater layoutInflaterOnGetLayoutInflater = super.onGetLayoutInflater(bundle);
        return layoutInflaterOnGetLayoutInflater.cloneInContext(dagger.hilt.android.internal.managers.FragmentComponentManager.c(layoutInflaterOnGetLayoutInflater, this));
    }

    @Override // com.vinfast.companion.notification.ui.theftalert.message.Hilt_TheftAlertDetailMessageFragment, com.vinfast.companion.notification.ui.theftalert.detail.Hilt_TheftAlertDetailFragment
    public void onAttach(android.app.Activity activity) {
        super.onAttach(activity);
        android.content.ContextWrapper contextWrapper = this.I;
        dagger.hilt.internal.Preconditions.d(contextWrapper == null || dagger.hilt.android.internal.managers.FragmentComponentManager.d(contextWrapper) == activity, "onAttach called multiple times with different Context! Hilt Fragments should not be retained.", new java.lang.Object[0]);
        e0();
        f0();
    }
}
