package com.google.android.gms.common.api.internal; import android.content.Context; import com.google.android.gms.auth.api.signin.internal.Storage; import com.google.android.gms.common.api.GoogleApiClient; import com.google.android.gms.common.api.ResultCallback; import com.google.android.gms.common.api.Status; /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes.dex */ public final class zabb implements ResultCallback { final StatusPendingResult zaa; final boolean zab; final GoogleApiClient zac; final zabe zad; @Override // com.google.android.gms.common.api.ResultCallback public final /* synthetic */ void onResult(Status status) { Context context; Status status2 = status; context = this.zad.zan; Storage.getInstance(context).zac(); if (status2.isSuccess() && this.zad.isConnected()) { zabe zabeVar = this.zad; zabeVar.disconnect(); zabeVar.connect(); } this.zaa.setResult(status2); if (this.zab) { this.zac.disconnect(); } } /* JADX INFO: Access modifiers changed from: package-private */ public zabb(zabe zabeVar, StatusPendingResult statusPendingResult, boolean z, GoogleApiClient googleApiClient) { this.zad = zabeVar; this.zaa = statusPendingResult; this.zab = z; this.zac = googleApiClient; } }