.class Lcom/ea/nimble/mtx/googleplay/GooglePlay$11; .super Ljava/lang/Object; .source "SourceFile" # interfaces .implements Lcom/android/billingclient/api/AcknowledgePurchaseResponseListener; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/ea/nimble/mtx/googleplay/GooglePlay;->googlePlayAcknowledgePurchase(Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;)V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x1 name = null .end annotation # instance fields .field final synthetic this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay; .field final synthetic val$transaction:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction; # direct methods .method public constructor (Lcom/ea/nimble/mtx/googleplay/GooglePlay;Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "()V" } .end annotation iput-object p1, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$11;->this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay; iput-object p2, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$11;->val$transaction:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction; .line 3019 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public onAcknowledgePurchaseResponse(Lcom/android/billingclient/api/BillingResult;)V .locals 2 .param p1 # Lcom/android/billingclient/api/BillingResult; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .line 3025 invoke-virtual {p1}, Lcom/android/billingclient/api/BillingResult;->getResponseCode()I move-result v0 if-eqz v0, :cond_0 iget-object v0, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$11;->this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay; .line 3027 invoke-static {v0, p1}, Lcom/ea/nimble/mtx/googleplay/GooglePlay;->access$800(Lcom/ea/nimble/mtx/googleplay/GooglePlay;Lcom/android/billingclient/api/BillingResult;)Lcom/ea/nimble/mtx/googleplay/GooglePlayError; move-result-object p1 iget-object v0, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$11;->this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay; const-string v1, "GooglePlay item consumption error." .line 3028 invoke-static {v0, p1, v1}, Lcom/ea/nimble/mtx/googleplay/GooglePlay;->access$1200(Lcom/ea/nimble/mtx/googleplay/GooglePlay;Lcom/ea/nimble/mtx/googleplay/GooglePlayError;Ljava/lang/String;)Lcom/ea/nimble/mtx/NimbleMTXError; move-result-object p1 iget-object v0, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$11;->val$transaction:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction; .line 3029 iput-object p1, v0, Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;->mError:Ljava/lang/Exception; .line 3030 iget-object p1, v0, Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;->mGooglePlayTransactionState:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction$GooglePlayTransactionState; iput-object p1, v0, Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;->mFailedState:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction$GooglePlayTransactionState; :cond_0 iget-object p1, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$11;->this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay; iget-object v0, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$11;->val$transaction:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction; .line 3033 sget-object v1, Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction$GooglePlayTransactionState;->COMPLETE:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction$GooglePlayTransactionState; invoke-static {p1, v0, v1}, Lcom/ea/nimble/mtx/googleplay/GooglePlay;->access$900(Lcom/ea/nimble/mtx/googleplay/GooglePlay;Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction$GooglePlayTransactionState;)V iget-object p1, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$11;->val$transaction:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction; .line 3035 iget-object v0, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;->mItemGrantedCallback:Lcom/ea/nimble/mtx/INimbleMTX$ItemGrantedCallback; if-eqz v0, :cond_1 .line 3037 invoke-interface {v0, p1}, Lcom/ea/nimble/mtx/INimbleMTX$ItemGrantedCallback;->itemGrantedComplete(Lcom/ea/nimble/mtx/NimbleMTXTransaction;)V goto :goto_0 :cond_1 const/4 p1, 0x0 new-array p1, p1, [Ljava/lang/Object; const-string v0, "Transaction does not have a consume callback to notify game of the finalize error." .line 3041 invoke-static {p0, v0, p1}, Lcom/ea/nimble/Log$Helper;->LOGE(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)V :goto_0 return-void .end method