39 lines
1.4 KiB
Java
39 lines
1.4 KiB
Java
|
package com.kofax.kmc.ken.engines;
|
||
|
|
||
|
import com.kofax.kmc.ken.engines.gpu.GPUImageHolderImpl;
|
||
|
import com.kofax.kmc.ken.engines.gpu.IGPUImageHolder;
|
||
|
import o.fPK;
|
||
|
import o.fZE;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class GpuDetectionModule_GetIGPUImageHolderFactory implements fPK<IGPUImageHolder> {
|
||
|
private final GpuDetectionModule aa;
|
||
|
private final fZE<GPUImageHolderImpl> ad;
|
||
|
|
||
|
public GpuDetectionModule_GetIGPUImageHolderFactory(GpuDetectionModule gpuDetectionModule, fZE<GPUImageHolderImpl> fze) {
|
||
|
this.aa = gpuDetectionModule;
|
||
|
this.ad = fze;
|
||
|
}
|
||
|
|
||
|
@Override // o.fZE
|
||
|
public final IGPUImageHolder get() {
|
||
|
IGPUImageHolder a = this.aa.a(this.ad.get());
|
||
|
if (a != null) {
|
||
|
return a;
|
||
|
}
|
||
|
throw new NullPointerException("Cannot return null from a non-@Nullable @Provides method");
|
||
|
}
|
||
|
|
||
|
public static GpuDetectionModule_GetIGPUImageHolderFactory create(GpuDetectionModule gpuDetectionModule, fZE<GPUImageHolderImpl> fze) {
|
||
|
return new GpuDetectionModule_GetIGPUImageHolderFactory(gpuDetectionModule, fze);
|
||
|
}
|
||
|
|
||
|
public static IGPUImageHolder proxyGetIGPUImageHolder(GpuDetectionModule gpuDetectionModule, GPUImageHolderImpl gPUImageHolderImpl) {
|
||
|
IGPUImageHolder a = gpuDetectionModule.a(gPUImageHolderImpl);
|
||
|
if (a != null) {
|
||
|
return a;
|
||
|
}
|
||
|
throw new NullPointerException("Cannot return null from a non-@Nullable @Provides method");
|
||
|
}
|
||
|
}
|