package androidx.fragment.app;

import android.os.Bundle;
import androidx.lifecycle.g;

/* JADX INFO: loaded from: classes.dex */
class FragmentManager$6 implements androidx.lifecycle.i {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    final /* synthetic */ r f2194b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    final /* synthetic */ androidx.lifecycle.g f2195c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    final /* synthetic */ m f2196d;

    @Override // androidx.lifecycle.i
    public void g(androidx.lifecycle.k kVar, g.b bVar) {
        Bundle bundle;
        if (bVar == g.b.ON_START && (bundle = (Bundle) this.f2196d.f2340j.get(this.f2193a)) != null) {
            this.f2194b.a(this.f2193a, bundle);
            this.f2196d.q(this.f2193a);
        }
        if (bVar == g.b.ON_DESTROY) {
            this.f2195c.c(this);
            this.f2196d.f2341k.remove(this.f2193a);
        }
    }
}
