add more stubs to make exoplayer not crash

This commit is contained in:
Julian Winkler
2023-09-21 22:49:36 +02:00
parent c830abc5f3
commit b88707592a
37 changed files with 482 additions and 47 deletions

View File

@@ -379,6 +379,10 @@ public class Canvas {
public void drawPath(Path path, Paint paint) {}
public boolean clipPath(Path path) {
return false;
}
private static native void native_drawText(long skia_canvas, CharSequence text, int start, int end, float x, float y, long skia_font, long skia_paint);
private static native void native_drawRect(long skia_canvas, float left, float top, float right, float bottom, long skia_paint);
private static native void native_drawLine(long skia_canvas, long widget, float startX, float startY, float stopX, float stopY, long skia_paint);