package o;

import android.os.Build;
import android.os.Bundle;
import android.view.inputmethod.InputConnection;
import android.view.inputmethod.InputConnectionWrapper;
import android.view.inputmethod.InputContentInfo;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.xH, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2892xH extends InputConnectionWrapper {
    public final /* synthetic */ G1 a;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C2892xH(InputConnection inputConnection, G1 g1) {
        super(inputConnection, false);
        this.a = g1;
    }

    @Override // android.view.inputmethod.InputConnectionWrapper, android.view.inputmethod.InputConnection
    public final boolean commitContent(InputContentInfo inputContentInfo, int i, Bundle bundle) {
        C0247Jn c0247Jn = null;
        if (inputContentInfo != null && Build.VERSION.SDK_INT >= 25) {
            c0247Jn = new C0247Jn(19, new C3082zH(inputContentInfo));
        }
        if (this.a.h(c0247Jn, i, bundle)) {
            return true;
        }
        return super.commitContent(inputContentInfo, i, bundle);
    }
}
