33 lines
815 B
Java
33 lines
815 B
Java
|
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);
|
||
|
}
|
||
|
}
|