27 lines
1011 B
Java
27 lines
1011 B
Java
package com.google.android.gms.internal.p001authapiphone;
|
|
|
|
import com.google.android.gms.common.api.Status;
|
|
import com.google.android.gms.common.api.internal.IStatusCallback;
|
|
import com.google.android.gms.common.api.internal.TaskUtil;
|
|
import com.google.android.gms.common.internal.ApiExceptionUtil;
|
|
import com.google.android.gms.tasks.TaskCompletionSource;
|
|
|
|
/* loaded from: classes2.dex */
|
|
final class zzq extends IStatusCallback.Stub {
|
|
private final TaskCompletionSource zza;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public zzq(zzn zznVar, TaskCompletionSource taskCompletionSource) {
|
|
this.zza = taskCompletionSource;
|
|
}
|
|
|
|
@Override // com.google.android.gms.common.api.internal.IStatusCallback
|
|
public final void onResult(Status status) {
|
|
if (status.getStatusCode() == 6) {
|
|
this.zza.trySetException(ApiExceptionUtil.fromStatus(status));
|
|
} else {
|
|
TaskUtil.setResultOrApiException(status, this.zza);
|
|
}
|
|
}
|
|
}
|