42 lines
1.4 KiB
Java
42 lines
1.4 KiB
Java
package com.google.android.gms.common.api.internal;
|
|
|
|
import android.util.Log;
|
|
import com.google.android.gms.common.ConnectionResult;
|
|
|
|
/* JADX INFO: compiled from: com.google.android.gms:play-services-base@@18.4.0 */
|
|
/* JADX INFO: loaded from: classes2.dex */
|
|
final class zabt implements Runnable {
|
|
final /* synthetic */ ConnectionResult zaa;
|
|
final /* synthetic */ zabu zab;
|
|
|
|
zabt(zabu zabuVar, ConnectionResult connectionResult) {
|
|
this.zab = zabuVar;
|
|
this.zaa = connectionResult;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
zabu zabuVar = this.zab;
|
|
zabq zabqVar = (zabq) zabuVar.zaa.zan.get(zabuVar.zac);
|
|
if (zabqVar == null) {
|
|
return;
|
|
}
|
|
if (!this.zaa.isSuccess()) {
|
|
zabqVar.zar(this.zaa, null);
|
|
return;
|
|
}
|
|
this.zab.zaf = true;
|
|
if (this.zab.zab.requiresSignIn()) {
|
|
this.zab.zah();
|
|
return;
|
|
}
|
|
try {
|
|
zabu zabuVar2 = this.zab;
|
|
zabuVar2.zab.getRemoteService(null, zabuVar2.zab.getScopesForConnectionlessNonSignIn());
|
|
} catch (SecurityException e) {
|
|
Log.e("GoogleApiManager", "Failed to get service from broker. ", e);
|
|
this.zab.zab.disconnect("Failed to get service from broker.");
|
|
zabqVar.zar(new ConnectionResult(10), null);
|
|
}
|
|
}
|
|
} |