You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
api-impl: fixes for apps using old support library
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user