Fix compile warnings (#881)
This commit is contained in:
@@ -107,6 +107,9 @@ public final class AndroidGraphics extends CanvasAdapter {
|
||||
return new AndroidBitmap(bitmap);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
public static Bitmap drawableToBitmap(Resources res, int resId) {
|
||||
return drawableToBitmap(res.getDrawable(resId));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user