59 lines
1.8 KiB
Java
59 lines
1.8 KiB
Java
|
package com.kofax.mobile.sdk.w;
|
||
|
|
||
|
import bolts.CancellationToken;
|
||
|
import com.kofax.mobile.sdk.extract.id.DataField;
|
||
|
import java.util.Arrays;
|
||
|
import java.util.List;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public class ab extends ae {
|
||
|
private final a Qj;
|
||
|
private final com.kofax.mobile.sdk._internal.extraction.id.c Qk;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public interface a {
|
||
|
void b(com.kofax.mobile.sdk.e.a aVar, List<DataField> list, Exception exc);
|
||
|
|
||
|
List<List<DataField>> x(com.kofax.mobile.sdk.e.a aVar);
|
||
|
|
||
|
List<List<DataField>> y(com.kofax.mobile.sdk.e.a aVar);
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.w.ae, com.kofax.mobile.sdk.e.c
|
||
|
public /* bridge */ /* synthetic */ void a(Object obj, CancellationToken cancellationToken) {
|
||
|
super.a(obj, cancellationToken);
|
||
|
}
|
||
|
|
||
|
public ab(com.kofax.mobile.sdk._internal.extraction.id.c cVar, a aVar) {
|
||
|
this.Qk = cVar;
|
||
|
this.Qj = aVar;
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.w.ae
|
||
|
public void a(com.kofax.mobile.sdk.e.a aVar) {
|
||
|
List<DataField> list = null;
|
||
|
e = null;
|
||
|
try {
|
||
|
List<DataField> list2 = null;
|
||
|
for (List<List<DataField>> list3 : Arrays.asList(this.Qj.x(aVar), this.Qj.y(aVar))) {
|
||
|
try {
|
||
|
if (list3 != null && list3.size() > 0) {
|
||
|
for (List<DataField> list4 : list3) {
|
||
|
if (list4 != null && list4.size() > 0) {
|
||
|
list2 = this.Qk.a(list2, list4);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
} catch (Exception e) {
|
||
|
e = e;
|
||
|
}
|
||
|
}
|
||
|
e = e;
|
||
|
list = list2;
|
||
|
} catch (Exception e2) {
|
||
|
e = e2;
|
||
|
}
|
||
|
this.Qj.b(aVar, list, e);
|
||
|
}
|
||
|
}
|