what-the-bank/sources/com/kofax/mobile/sdk/capture/ContextImageStorage.java

33 lines
815 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.kofax.mobile.sdk.capture;
import android.graphics.Bitmap;
import java.util.HashMap;
import java.util.Map;
import o.InterfaceC13391fZD;
import o.fZH;
@fZH
/* loaded from: classes3.dex */
public class ContextImageStorage implements IImageStorage {
private static Map<String, Bitmap> YI = new HashMap();
@InterfaceC13391fZD
public ContextImageStorage() {
}
@Override // com.kofax.mobile.sdk.capture.IImageStorage
public void setImage(Bitmap bitmap, String str) {
YI.put(str, bitmap);
}
@Override // com.kofax.mobile.sdk.capture.IImageStorage
public Bitmap getImage(String str) {
return YI.get(str);
}
@Override // com.kofax.mobile.sdk.capture.IImageStorage
public Bitmap removeImage(String str) {
return YI.remove(str);
}
}