62 lines
2.1 KiB
Java
62 lines
2.1 KiB
Java
package c.i.a.f.e.h.j;
|
|
|
|
import android.util.Log;
|
|
import c.i.a.f.e.h.j.g;
|
|
import com.google.android.gms.common.ConnectionResult;
|
|
import com.google.android.gms.common.api.Scope;
|
|
import com.google.android.gms.common.internal.zau;
|
|
import com.google.android.gms.signin.internal.zam;
|
|
import java.util.Objects;
|
|
import java.util.Set;
|
|
/* compiled from: com.google.android.gms:play-services-base@@17.3.0 */
|
|
public final class i0 implements Runnable {
|
|
public final /* synthetic */ zam i;
|
|
public final /* synthetic */ g0 j;
|
|
|
|
public i0(g0 g0Var, zam zam) {
|
|
this.j = g0Var;
|
|
this.i = zam;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
g0 g0Var = this.j;
|
|
zam zam = this.i;
|
|
Objects.requireNonNull(g0Var);
|
|
ConnectionResult connectionResult = zam.j;
|
|
if (connectionResult.w0()) {
|
|
zau zau = zam.k;
|
|
Objects.requireNonNull(zau, "null reference");
|
|
ConnectionResult connectionResult2 = zau.k;
|
|
if (!connectionResult2.w0()) {
|
|
String valueOf = String.valueOf(connectionResult2);
|
|
StringBuilder sb = new StringBuilder(valueOf.length() + 48);
|
|
sb.append("Sign-in succeeded with resolve account failure: ");
|
|
sb.append(valueOf);
|
|
Log.wtf("SignInCoordinator", sb.toString(), new Exception());
|
|
((g.b) g0Var.h).b(connectionResult2);
|
|
g0Var.g.h();
|
|
return;
|
|
}
|
|
h0 h0Var = g0Var.h;
|
|
c.i.a.f.e.k.g v0 = zau.v0();
|
|
Set<Scope> set = g0Var.e;
|
|
g.b bVar = (g.b) h0Var;
|
|
Objects.requireNonNull(bVar);
|
|
if (v0 == null || set == null) {
|
|
Log.wtf("GoogleApiManager", "Received null response from onSignInSuccess", new Exception());
|
|
bVar.b(new ConnectionResult(4));
|
|
} else {
|
|
bVar.f1039c = v0;
|
|
bVar.d = set;
|
|
if (bVar.e) {
|
|
bVar.a.b(v0, set);
|
|
}
|
|
}
|
|
} else {
|
|
((g.b) g0Var.h).b(connectionResult);
|
|
}
|
|
g0Var.g.h();
|
|
}
|
|
}
|