.class Lcom/ea/nimble/mtx/googleplay/GooglePlay$1; .super Ljava/lang/Object; .source "SourceFile" # interfaces .implements Lcom/android/billingclient/api/BillingClientStateListener; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/ea/nimble/mtx/googleplay/GooglePlay;->createBillingHelper()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; # direct methods .method public constructor (Lcom/ea/nimble/mtx/googleplay/GooglePlay;)V .locals 0 iput-object p1, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$1;->this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay; .line 289 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public onBillingServiceDisconnected()V .locals 2 iget-object v0, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$1;->this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay; .line 305 invoke-static {v0}, Lcom/ea/nimble/mtx/googleplay/GooglePlay;->access$600(Lcom/ea/nimble/mtx/googleplay/GooglePlay;)Lcom/ea/nimble/mtx/googleplay/billing/BillingHelper; move-result-object v0 invoke-virtual {v0}, Lcom/ea/nimble/mtx/googleplay/billing/BillingHelper;->dispose()V iget-object v0, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$1;->this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay; const/4 v1, 0x0 .line 306 invoke-static {v0, v1}, Lcom/ea/nimble/mtx/googleplay/GooglePlay;->access$602(Lcom/ea/nimble/mtx/googleplay/GooglePlay;Lcom/ea/nimble/mtx/googleplay/billing/BillingHelper;)Lcom/ea/nimble/mtx/googleplay/billing/BillingHelper; const/4 v0, 0x0 new-array v0, v0, [Ljava/lang/Object; const-string v1, "Billing Service Disconnected" .line 307 invoke-static {p0, v1, v0}, Lcom/ea/nimble/Log$Helper;->LOGD(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)V return-void .end method .method public onBillingSetupFinished(Lcom/android/billingclient/api/BillingResult;)V .locals 3 .param p1 # Lcom/android/billingclient/api/BillingResult; .annotation build Landroidx/annotation/NonNull; .end annotation .end param iget-object v0, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$1;->this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay; const/4 v1, 0x0 .line 293 invoke-static {v0, v1}, Lcom/ea/nimble/mtx/googleplay/GooglePlay;->access$402(Lcom/ea/nimble/mtx/googleplay/GooglePlay;Z)Z .line 294 invoke-virtual {p1}, Lcom/android/billingclient/api/BillingResult;->getResponseCode()I move-result v0 if-eqz v0, :cond_0 .line 296 new-instance v0, Ljava/lang/StringBuilder; invoke-direct {v0}, Ljava/lang/StringBuilder;->()V const-string v2, "Error setting up the billing helper: " invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {p1}, Lcom/android/billingclient/api/BillingResult;->getResponseCode()I move-result v2 invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; const-string v2, " " invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {p1}, Lcom/android/billingclient/api/BillingResult;->getDebugMessage()Ljava/lang/String; move-result-object p1 invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p1 new-array v0, v1, [Ljava/lang/Object; invoke-static {p0, p1, v0}, Lcom/ea/nimble/Log$Helper;->LOGD(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)V return-void :cond_0 iget-object p1, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$1;->this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay; .line 299 invoke-static {p1}, Lcom/ea/nimble/mtx/googleplay/GooglePlay;->access$500(Lcom/ea/nimble/mtx/googleplay/GooglePlay;)Lcom/ea/nimble/mtx/googleplay/GooglePlay$ItemRestorer; move-result-object p1 invoke-virtual {p1}, Lcom/ea/nimble/mtx/googleplay/GooglePlay$ItemRestorer;->restoreItems()V return-void .end method