api-impl: fixes for apps using old support library

This commit is contained in:
Julian Winkler
2024-09-27 15:11:00 +02:00
parent 64c5ebe5b6
commit 98e7989ccb
8 changed files with 20 additions and 3 deletions

View File

@@ -37,6 +37,10 @@ public class Paint {
native_set_color(paint, color);
}
public void setARGB(int a, int r, int g, int b) {
setColor(Color.argb(a, r, g, b));
}
public int getColor() {
return native_get_color(paint);
}