Fix compile warnings (#881)

This commit is contained in:
Emux
2021-10-10 17:42:35 +03:00
committed by GitHub
parent bb03b40075
commit f076544993
12 changed files with 16 additions and 28 deletions

View File

@@ -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));
}