14 lines
527 B
Java
14 lines
527 B
Java
package androidx.core.graphics.drawable;
|
|
|
|
import android.content.res.Resources;
|
|
import android.graphics.Bitmap;
|
|
import android.graphics.drawable.BitmapDrawable;
|
|
import d0.z.d.m;
|
|
/* compiled from: BitmapDrawable.kt */
|
|
public final class BitmapDrawableKt {
|
|
public static final BitmapDrawable toDrawable(Bitmap bitmap, Resources resources) {
|
|
m.checkParameterIsNotNull(bitmap, "$this$toDrawable");
|
|
m.checkParameterIsNotNull(resources, "resources");
|
|
return new BitmapDrawable(resources, bitmap);
|
|
}
|
|
}
|