- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
55 lines
1.7 KiB
Java
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;
|
|
}
|
|
}
|
|
}
|
|
}
|