what-the-bank/sources/com/kofax/mobile/sdk/x/s.java

39 lines
1.3 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.kofax.mobile.sdk.x;
import com.kofax.kmc.ken.engines.data.ImagePerfectionProfile;
import com.kofax.mobile.sdk.w.ak;
import o.gjJ;
/* loaded from: classes3.dex */
abstract class s implements ak.a {
private final com.kofax.mobile.sdk._internal.extraction.b QX;
abstract String a(String str, com.kofax.mobile.sdk.c.a aVar);
/* JADX INFO: Access modifiers changed from: package-private */
public s(com.kofax.mobile.sdk._internal.extraction.b bVar) {
this.QX = bVar;
}
@Override // com.kofax.mobile.sdk.w.ak.a
public boolean D(com.kofax.mobile.sdk.e.a aVar) {
return aVar.isProcessed();
}
@Override // com.kofax.mobile.sdk.w.ak.a
public ImagePerfectionProfile E(com.kofax.mobile.sdk.e.a aVar) {
String ht = aVar.ht();
String a = a(ht, aVar.hv());
if (gjJ.b((CharSequence) a)) {
return null;
}
ImagePerfectionProfile O = this.QX.O(a);
a(ht, O);
return O;
}
private static void a(String str, ImagePerfectionProfile imagePerfectionProfile) {
imagePerfectionProfile.setUseMRZPassportDetection(str.equals(com.kofax.mobile.sdk.e.a.vM) ? ImagePerfectionProfile.UseMRZPassportDetection.ON : ImagePerfectionProfile.UseMRZPassportDetection.OFF);
}
}