- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
64 lines
2.6 KiB
Java
64 lines
2.6 KiB
Java
package com.google.android.gms.measurement.internal;
|
|
|
|
import android.database.sqlite.SQLiteException;
|
|
import android.os.Bundle;
|
|
import com.google.android.gms.common.internal.Preconditions;
|
|
import com.google.android.gms.internal.measurement.zzpd;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import java.util.concurrent.Callable;
|
|
|
|
/* loaded from: classes3.dex */
|
|
final class zzih implements Callable<List<zzmu>> {
|
|
private final /* synthetic */ zzn zza;
|
|
private final /* synthetic */ Bundle zzb;
|
|
private final /* synthetic */ zzhn zzc;
|
|
|
|
@Override // java.util.concurrent.Callable
|
|
public final /* synthetic */ List<zzmu> call() throws Exception {
|
|
zznc zzncVar;
|
|
zznc zzncVar2;
|
|
zzncVar = this.zzc.zza;
|
|
zzncVar.zzr();
|
|
zzncVar2 = this.zzc.zza;
|
|
zzn zznVar = this.zza;
|
|
Bundle bundle = this.zzb;
|
|
zzncVar2.zzl().zzt();
|
|
if (!zzpd.zza() || !zzncVar2.zze().zze(zznVar.zza, zzbh.zzcb) || zznVar.zza == null) {
|
|
return new ArrayList();
|
|
}
|
|
if (bundle != null) {
|
|
int[] intArray = bundle.getIntArray("uriSources");
|
|
long[] longArray = bundle.getLongArray("uriTimestamps");
|
|
if (intArray != null) {
|
|
if (longArray == null || longArray.length != intArray.length) {
|
|
zzncVar2.zzj().zzg().zza("Uri sources and timestamps do not match");
|
|
} else {
|
|
for (int i = 0; i < intArray.length; i++) {
|
|
zzan zzf = zzncVar2.zzf();
|
|
String str = zznVar.zza;
|
|
int i2 = intArray[i];
|
|
long j = longArray[i];
|
|
Preconditions.checkNotEmpty(str);
|
|
zzf.zzt();
|
|
zzf.zzak();
|
|
try {
|
|
int delete = zzf.e_().delete("trigger_uris", "app_id=? and source=? and timestamp_millis<=?", new String[]{str, String.valueOf(i2), String.valueOf(j)});
|
|
zzf.zzj().zzp().zza("Pruned " + delete + " trigger URIs. appId, source, timestamp", str, Integer.valueOf(i2), Long.valueOf(j));
|
|
} catch (SQLiteException e) {
|
|
zzf.zzj().zzg().zza("Error pruning trigger URIs. appId", zzfw.zza(str), e);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return zzncVar2.zzf().zzj(zznVar.zza);
|
|
}
|
|
|
|
public zzih(zzhn zzhnVar, zzn zznVar, Bundle bundle) {
|
|
this.zza = zznVar;
|
|
this.zzb = bundle;
|
|
this.zzc = zzhnVar;
|
|
}
|
|
}
|