package com.bytedance.android.livesdk.chatroom.ui;

import X.C0323Fbl;
import android.view.KeyEvent;
import android.view.inputmethod.InputConnection;
import android.view.inputmethod.InputConnectionWrapper;
import com.bytedance.covode.number.Covode;

public class CommentEditText$1 extends InputConnectionWrapper {
    public final /* synthetic */ C0323Fbl LIZ;

    static {
        Covode.recordClassIndex(13908);
    }

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    public CommentEditText$1(C0323Fbl fbl, InputConnection inputConnection) {
        super(inputConnection, true);
        this.LIZ = fbl;
    }

    public final boolean commitText(CharSequence charSequence, int i) {
        if (!charSequence.equals("\n")) {
            return super.commitText(charSequence, i);
        }
        sendKeyEvent(new KeyEvent(1, 66));
        return false;
    }
}
