what-the-bank/sources/com/kofax/mobile/sdk/g/e.java

89 lines
3.1 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.kofax.mobile.sdk.g;
import com.kofax.kmc.kut.utilities.appstats.AppStatsClientEventLogger;
import com.kofax.kmc.kut.utilities.appstats.dao.AppStatsDao;
import com.kofax.kmc.kut.utilities.appstats.dao.FieldEventDao;
import com.kofax.kmc.kut.utilities.appstats.type.AppStatsDsOpType;
import com.kofax.kmc.kut.utilities.appstats.type.AppStatsEventIDType;
import com.kofax.mobile.sdk._internal.k;
/* loaded from: classes3.dex */
public class e extends a {
private String fieldName;
private String iL;
private String iZ;
private String rL;
private String rM;
private int rN;
private FieldEventDao xM;
private AppStatsEventIDType xD = AppStatsEventIDType.APP_STATS_UNKNOWN_EVENT;
private int count = 0;
private String TAG = "e";
public void a(AppStatsEventIDType appStatsEventIDType, String str, String str2, String str3, String str4, int i, String str5) {
this.xD = appStatsEventIDType;
this.iL = str;
this.rL = str2;
this.rM = str3;
this.fieldName = str4;
this.rN = i;
this.iZ = str5;
a(appStatsEventIDType, new AppStatsClientEventLogger(this) { // from class: com.kofax.mobile.sdk.g.e.1
final e xN;
{
this.xN = this;
}
@Override // com.kofax.kmc.kut.utilities.appstats.AppStatsClientEventLogger
public void logEvent(AppStatsEventIDType appStatsEventIDType2) {
if (AnonymousClass2.xL[appStatsEventIDType2.ordinal()] == 1) {
this.xN.iH();
}
}
});
}
/* renamed from: com.kofax.mobile.sdk.g.e$2, reason: invalid class name */
/* loaded from: classes3.dex */
static /* synthetic */ class AnonymousClass2 {
static final int[] xL;
static {
int[] iArr = new int[AppStatsEventIDType.values().length];
xL = iArr;
try {
iArr[AppStatsEventIDType.APP_STATS_FIELD_CHANGE_EVENT.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
}
}
/* JADX INFO: Access modifiers changed from: private */
public void iH() {
String str = this.TAG;
StringBuilder sb = new StringBuilder("how many times = 2 = ");
int i = this.count;
this.count = i + 1;
sb.append(i);
k.c(str, sb.toString());
FieldEventDao fieldEventDao = new FieldEventDao();
this.xM = fieldEventDao;
fieldEventDao.setDocumentID(this.iL);
this.xM.setEventTime(this.asFriend.currentEventTime());
this.xM.setOriginalValue(this.rL);
this.xM.setChangedValue(this.rM);
this.xM.setFieldname(this.fieldName);
this.xM.setIsValid(this.rN);
this.xM.setErrorDescription(this.iZ);
this.xM.setSessionEventID(this.asFriend.getLastSessionEventID());
this.xM.setDsOperation(AppStatsDsOpType.APP_STATS_DS_INSERT);
a(new AppStatsDao[]{this.xM});
}
@Override // com.kofax.mobile.sdk.g.a
protected AppStatsEventIDType it() {
return this.xD;
}
}