discord-jadx/app/src/main/java/c/i/a/f/i/b/h8.java

55 lines
2.0 KiB
Java

package c.i.a.f.i.b;
import android.os.RemoteException;
import android.text.TextUtils;
import com.google.android.gms.measurement.internal.zzn;
import java.util.Collections;
import java.util.concurrent.atomic.AtomicReference;
/* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */
public final class h8 implements Runnable {
public final /* synthetic */ AtomicReference i;
public final /* synthetic */ String j;
public final /* synthetic */ String k;
public final /* synthetic */ String l;
public final /* synthetic */ boolean m;
public final /* synthetic */ zzn n;
public final /* synthetic */ q7 o;
public h8(q7 q7Var, AtomicReference atomicReference, String str, String str2, String str3, boolean z2, zzn zzn) {
this.o = q7Var;
this.i = atomicReference;
this.j = str;
this.k = str2;
this.l = str3;
this.m = z2;
this.n = zzn;
}
@Override // java.lang.Runnable
public final void run() {
synchronized (this.i) {
try {
q7 q7Var = this.o;
i3 i3Var = q7Var.d;
if (i3Var == null) {
q7Var.g().f.d("(legacy) Failed to get user properties; not connected to service", q3.s(this.j), this.k, this.l);
this.i.set(Collections.emptyList());
return;
}
if (TextUtils.isEmpty(this.j)) {
this.i.set(i3Var.Q(this.k, this.l, this.m, this.n));
} else {
this.i.set(i3Var.u(this.j, this.k, this.l, this.m));
}
this.o.F();
this.i.notify();
} catch (RemoteException e) {
this.o.g().f.d("(legacy) Failed to get user properties; remote exception", q3.s(this.j), this.k, e);
this.i.set(Collections.emptyList());
} finally {
this.i.notify();
}
}
}
}