package w2;

import android.os.Build;
import android.view.inputmethod.InputConnection;

/* loaded from: classes.dex */
public abstract class g0 {
    public static final z a(InputConnection inputConnection, dn.l lVar) {
        return Build.VERSION.SDK_INT >= 34 ? new f0(inputConnection, lVar) : new c0(inputConnection, lVar);
    }
}
