Files
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- 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
2026-02-18 15:48:36 -08:00

42 lines
1.5 KiB
Java

package com.google.android.gms.games.internal;
import com.google.android.gms.common.data.DataHolder;
import com.google.android.gms.games.AnnotatedData;
import com.google.android.gms.games.GamesStatusUtils;
import com.google.android.gms.games.leaderboard.Leaderboard;
import com.google.android.gms.games.leaderboard.LeaderboardBuffer;
import com.google.android.gms.tasks.TaskCompletionSource;
/* loaded from: classes2.dex */
final class zzy extends zza {
private final TaskCompletionSource zza;
public zzy(TaskCompletionSource taskCompletionSource) {
this.zza = taskCompletionSource;
}
@Override // com.google.android.gms.games.internal.zza, com.google.android.gms.games.internal.zzal
public final void zzg(DataHolder dataHolder) {
int statusCode = dataHolder.getStatusCode();
boolean z = statusCode == 3;
if (statusCode != 0 && !z) {
GamesStatusUtils.zza(this.zza, statusCode);
dataHolder.close();
return;
}
LeaderboardBuffer leaderboardBuffer = new LeaderboardBuffer(dataHolder);
try {
Leaderboard freeze = leaderboardBuffer.getCount() > 0 ? leaderboardBuffer.get(0).freeze() : null;
leaderboardBuffer.close();
this.zza.setResult(new AnnotatedData(freeze, z));
} catch (Throwable th) {
try {
leaderboardBuffer.close();
} catch (Throwable th2) {
th.addSuppressed(th2);
}
throw th;
}
}
}