94 lines
3.3 KiB
Java
94 lines
3.3 KiB
Java
package com.google.android.gms.measurement.internal;
|
|
|
|
import android.os.Bundle;
|
|
import android.os.RemoteException;
|
|
import com.google.android.gms.common.internal.Preconditions;
|
|
import java.util.List;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* loaded from: classes.dex */
|
|
public final class zzip implements Runnable {
|
|
final String zza;
|
|
final String zzb;
|
|
final zzp zzc;
|
|
final boolean zzd;
|
|
final com.google.android.gms.internal.measurement.zzcf zze;
|
|
final zzjo zzf;
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
Throwable th;
|
|
zzeb zzebVar;
|
|
Bundle bundle = new Bundle();
|
|
try {
|
|
zzebVar = this.zzf.zzb;
|
|
if (zzebVar == null) {
|
|
this.zzf.zzs.zzay().zzd().zzc("Failed to get user properties; not connected to service", this.zza, this.zzb);
|
|
this.zzf.zzs.zzv().zzQ(this.zze, bundle);
|
|
return;
|
|
}
|
|
Preconditions.checkNotNull(this.zzc);
|
|
List<zzkv> zzh = zzebVar.zzh(this.zza, this.zzb, this.zzd, this.zzc);
|
|
Bundle bundle2 = new Bundle();
|
|
if (zzh != null) {
|
|
for (zzkv zzkvVar : zzh) {
|
|
String str = zzkvVar.zze;
|
|
if (str != null) {
|
|
bundle2.putString(zzkvVar.zzb, str);
|
|
} else {
|
|
Long l = zzkvVar.zzd;
|
|
if (l != null) {
|
|
bundle2.putLong(zzkvVar.zzb, l.longValue());
|
|
} else {
|
|
Double d = zzkvVar.zzg;
|
|
if (d != null) {
|
|
bundle2.putDouble(zzkvVar.zzb, d.doubleValue());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
try {
|
|
this.zzf.zzQ();
|
|
this.zzf.zzs.zzv().zzQ(this.zze, bundle2);
|
|
} catch (RemoteException e) {
|
|
e = e;
|
|
bundle = bundle2;
|
|
try {
|
|
this.zzf.zzs.zzay().zzd().zzc("Failed to get user properties; remote exception", this.zza, e);
|
|
this.zzf.zzs.zzv().zzQ(this.zze, bundle);
|
|
} catch (Throwable th2) {
|
|
bundle2 = bundle;
|
|
th = th2;
|
|
th = th;
|
|
bundle = bundle2;
|
|
this.zzf.zzs.zzv().zzQ(this.zze, bundle);
|
|
throw th;
|
|
}
|
|
} catch (Throwable th3) {
|
|
th = th3;
|
|
th = th;
|
|
bundle = bundle2;
|
|
this.zzf.zzs.zzv().zzQ(this.zze, bundle);
|
|
throw th;
|
|
}
|
|
} catch (RemoteException e2) {
|
|
e = e2;
|
|
} catch (Throwable th4) {
|
|
th = th4;
|
|
this.zzf.zzs.zzv().zzQ(this.zze, bundle);
|
|
throw th;
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public zzip(zzjo zzjoVar, String str, String str2, zzp zzpVar, boolean z, com.google.android.gms.internal.measurement.zzcf zzcfVar) {
|
|
this.zzf = zzjoVar;
|
|
this.zza = str;
|
|
this.zzb = str2;
|
|
this.zzc = zzpVar;
|
|
this.zzd = z;
|
|
this.zze = zzcfVar;
|
|
}
|
|
}
|