package o;

import android.view.LayoutInflater;
import androidx.activity.ComponentActivity;
import androidx.appcompat.app.AppCompatActivity;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.t7, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2499t7 implements KT {
    public final /* synthetic */ AppCompatActivity a;

    public C2499t7(AppCompatActivity appCompatActivity) {
        this.a = appCompatActivity;
    }

    @Override // o.KT
    public final void a(ComponentActivity componentActivity) {
        AppCompatActivity appCompatActivity = this.a;
        F7 delegate = appCompatActivity.getDelegate();
        S7 s7 = (S7) delegate;
        LayoutInflater layoutInflaterFrom = LayoutInflater.from(s7.v);
        if (layoutInflaterFrom.getFactory() == null) {
            layoutInflaterFrom.setFactory2(s7);
        } else {
            layoutInflaterFrom.getFactory2();
        }
        appCompatActivity.getSavedStateRegistry().a("androidx:appcompat");
        delegate.c();
    }
}
