- 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
48 lines
2.7 KiB
Java
48 lines
2.7 KiB
Java
package com.android.billingclient.api;
|
|
|
|
import android.os.Bundle;
|
|
import com.android.billingclient.api.BillingResult;
|
|
import com.firemonkeys.cloudcellapi.Consts;
|
|
import java.util.ArrayList;
|
|
|
|
/* loaded from: classes.dex */
|
|
public abstract class zzbl {
|
|
public static zzbk zza(Bundle bundle, String str, String str2) {
|
|
BillingResult billingResult = zzat.zzj;
|
|
if (bundle == null) {
|
|
com.google.android.gms.internal.play_billing.zzb.zzj("BillingClient", String.format("%s got null owned items list", str2));
|
|
return new zzbk(billingResult, 54);
|
|
}
|
|
int zzb = com.google.android.gms.internal.play_billing.zzb.zzb(bundle, "BillingClient");
|
|
String zzf = com.google.android.gms.internal.play_billing.zzb.zzf(bundle, "BillingClient");
|
|
BillingResult.Builder newBuilder = BillingResult.newBuilder();
|
|
newBuilder.setResponseCode(zzb);
|
|
newBuilder.setDebugMessage(zzf);
|
|
BillingResult build = newBuilder.build();
|
|
if (zzb != 0) {
|
|
com.google.android.gms.internal.play_billing.zzb.zzj("BillingClient", String.format("%s failed. Response code: %s", str2, Integer.valueOf(zzb)));
|
|
return new zzbk(build, 23);
|
|
}
|
|
if (!bundle.containsKey(Consts.RESPONSE_INAPP_ITEM_LIST) || !bundle.containsKey(Consts.RESPONSE_INAPP_PURCHASE_DATA_LIST) || !bundle.containsKey(Consts.RESPONSE_INAPP_SIGNATURE_LIST)) {
|
|
com.google.android.gms.internal.play_billing.zzb.zzj("BillingClient", String.format("Bundle returned from %s doesn't contain required fields.", str2));
|
|
return new zzbk(billingResult, 55);
|
|
}
|
|
ArrayList<String> stringArrayList = bundle.getStringArrayList(Consts.RESPONSE_INAPP_ITEM_LIST);
|
|
ArrayList<String> stringArrayList2 = bundle.getStringArrayList(Consts.RESPONSE_INAPP_PURCHASE_DATA_LIST);
|
|
ArrayList<String> stringArrayList3 = bundle.getStringArrayList(Consts.RESPONSE_INAPP_SIGNATURE_LIST);
|
|
if (stringArrayList == null) {
|
|
com.google.android.gms.internal.play_billing.zzb.zzj("BillingClient", String.format("Bundle returned from %s contains null SKUs list.", str2));
|
|
return new zzbk(billingResult, 56);
|
|
}
|
|
if (stringArrayList2 == null) {
|
|
com.google.android.gms.internal.play_billing.zzb.zzj("BillingClient", String.format("Bundle returned from %s contains null purchases list.", str2));
|
|
return new zzbk(billingResult, 57);
|
|
}
|
|
if (stringArrayList3 != null) {
|
|
return new zzbk(zzat.zzl, 1);
|
|
}
|
|
com.google.android.gms.internal.play_billing.zzb.zzj("BillingClient", String.format("Bundle returned from %s contains null signatures list.", str2));
|
|
return new zzbk(billingResult, 58);
|
|
}
|
|
}
|