package w2;

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

/* loaded from: classes.dex */
abstract class b0 extends a0 {
    public b0(InputConnection inputConnection, dn.l lVar) {
        super(inputConnection, lVar);
    }

    @Override // w2.a0
    protected final void b(InputConnection inputConnection) {
        inputConnection.closeConnection();
    }

    @Override // android.view.inputmethod.InputConnection
    public final boolean deleteSurroundingTextInCodePoints(int i10, int i11) {
        InputConnection c10 = c();
        if (c10 != null) {
            return c10.deleteSurroundingTextInCodePoints(i10, i11);
        }
        return false;
    }

    @Override // android.view.inputmethod.InputConnection
    public final Handler getHandler() {
        InputConnection c10 = c();
        if (c10 != null) {
            return c10.getHandler();
        }
        return null;
    }
}
