Files
rr3-apk/decompiled/sources/com/google/android/gms/common/api/zab.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

55 lines
1.7 KiB
Java

package com.google.android.gms.common.api;
import com.google.android.gms.common.api.PendingResult;
/* loaded from: classes2.dex */
final class zab implements PendingResult.StatusListener {
final /* synthetic */ Batch zaa;
public zab(Batch batch) {
this.zaa = batch;
}
@Override // com.google.android.gms.common.api.PendingResult.StatusListener
public final void onComplete(Status status) {
Object obj;
int i;
int i2;
boolean z;
boolean z2;
PendingResult[] pendingResultArr;
obj = this.zaa.zai;
synchronized (obj) {
try {
if (this.zaa.isCanceled()) {
return;
}
if (status.isCanceled()) {
this.zaa.zag = true;
} else if (!status.isSuccess()) {
this.zaa.zaf = true;
}
Batch batch = this.zaa;
i = batch.zae;
batch.zae = i - 1;
Batch batch2 = this.zaa;
i2 = batch2.zae;
if (i2 == 0) {
z = batch2.zag;
if (z) {
super/*com.google.android.gms.common.api.internal.BasePendingResult*/.cancel();
} else {
z2 = batch2.zaf;
Status status2 = z2 ? new Status(13) : Status.RESULT_SUCCESS;
Batch batch3 = this.zaa;
pendingResultArr = batch3.zah;
batch3.setResult(new BatchResult(status2, pendingResultArr));
}
}
} catch (Throwable th) {
throw th;
}
}
}
}