CheckBox: fix setText() with non-String CharSequence

This commit is contained in:
Julian Winkler
2025-10-26 16:44:50 +01:00
parent a861a62107
commit e2b43e2a2d
4 changed files with 12 additions and 8 deletions

View File

@@ -37,7 +37,7 @@ public class Button extends TextView {
@Override
protected native long native_constructor(Context context, AttributeSet attrs);
public native final void native_setText(long widget, String text);
public native void native_setText(long widget, String text);
@Override
protected native void nativeSetOnClickListener(long widget);
protected native void native_setCompoundDrawables(long widget, long paintable);