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

50 lines
1.6 KiB
Java

package c.i.a.f.i.b;
import android.os.RemoteException;
import c.i.a.f.h.l.fc;
import c.i.a.f.h.l.t8;
import com.google.android.gms.measurement.internal.zzn;
/* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */
public final class u7 implements Runnable {
public final /* synthetic */ zzn i;
public final /* synthetic */ fc j;
public final /* synthetic */ q7 k;
public u7(q7 q7Var, zzn zzn, fc fcVar) {
this.k = q7Var;
this.i = zzn;
this.j = fcVar;
}
@Override // java.lang.Runnable
public final void run() {
String str = null;
try {
if (!t8.b() || !this.k.a.h.o(p.H0) || this.k.l().y().k()) {
q7 q7Var = this.k;
i3 i3Var = q7Var.d;
if (i3Var == null) {
q7Var.g().f.a("Failed to get app instance id");
this.k.e().M(this.j, null);
return;
}
String A = i3Var.A(this.i);
if (A != null) {
this.k.n().g.set(A);
this.k.l().m.b(A);
}
this.k.F();
this.k.e().M(this.j, A);
return;
}
this.k.g().k.a("Analytics storage consent denied; will not get app instance id");
this.k.n().g.set(null);
this.k.l().m.b(null);
} catch (RemoteException e) {
this.k.g().f.b("Failed to get app instance id", e);
} finally {
this.k.e().M(this.j, str);
}
}
}