what-the-bank/sources/com/kofax/mobile/sdk/ak/c.java

15 lines
469 B
Java

package com.kofax.mobile.sdk.ak;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
/* loaded from: classes3.dex */
public class c {
public static Bitmap a(Context context, String str) {
Resources resources = context.getResources();
return BitmapFactory.decodeResource(resources, resources.getIdentifier(str, "drawable", context.getPackageName()));
}
}