131 lines
3.5 KiB
Smali
131 lines
3.5 KiB
Smali
|
.class public final Lcom/discord/utilities/billing/GooglePlayBillingManager$GooglePlayBillingManagerLifecycleListener;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "GooglePlayBillingManager.kt"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Landroid/app/Application$ActivityLifecycleCallbacks;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lcom/discord/utilities/billing/GooglePlayBillingManager;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x19
|
||
|
name = "GooglePlayBillingManagerLifecycleListener"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>()V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public onActivityCreated(Landroid/app/Activity;Landroid/os/Bundle;)V
|
||
|
.locals 0
|
||
|
|
||
|
const-string p2, "activity"
|
||
|
|
||
|
invoke-static {p1, p2}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
instance-of p1, p1, Lcom/discord/app/AppActivity$Main;
|
||
|
|
||
|
if-eqz p1, :cond_0
|
||
|
|
||
|
sget-object p1, Lcom/discord/utilities/billing/GooglePlayBillingManager;->INSTANCE:Lcom/discord/utilities/billing/GooglePlayBillingManager;
|
||
|
|
||
|
invoke-virtual {p1}, Lcom/discord/utilities/billing/GooglePlayBillingManager;->onActivityCreated()V
|
||
|
|
||
|
:cond_0
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public onActivityDestroyed(Landroid/app/Activity;)V
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "activity"
|
||
|
|
||
|
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
instance-of p1, p1, Lcom/discord/app/AppActivity$Main;
|
||
|
|
||
|
if-eqz p1, :cond_0
|
||
|
|
||
|
sget-object p1, Lcom/discord/utilities/billing/GooglePlayBillingManager;->INSTANCE:Lcom/discord/utilities/billing/GooglePlayBillingManager;
|
||
|
|
||
|
invoke-virtual {p1}, Lcom/discord/utilities/billing/GooglePlayBillingManager;->onActivityDestroyed()V
|
||
|
|
||
|
:cond_0
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public onActivityPaused(Landroid/app/Activity;)V
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "activity"
|
||
|
|
||
|
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public onActivityResumed(Landroid/app/Activity;)V
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "activity"
|
||
|
|
||
|
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
instance-of p1, p1, Lcom/discord/app/AppActivity$Main;
|
||
|
|
||
|
if-eqz p1, :cond_0
|
||
|
|
||
|
sget-object p1, Lcom/discord/utilities/billing/GooglePlayBillingManager;->INSTANCE:Lcom/discord/utilities/billing/GooglePlayBillingManager;
|
||
|
|
||
|
invoke-virtual {p1}, Lcom/discord/utilities/billing/GooglePlayBillingManager;->queryPurchases()V
|
||
|
|
||
|
:cond_0
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public onActivitySaveInstanceState(Landroid/app/Activity;Landroid/os/Bundle;)V
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "activity"
|
||
|
|
||
|
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string p1, "outState"
|
||
|
|
||
|
invoke-static {p2, p1}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public onActivityStarted(Landroid/app/Activity;)V
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "activity"
|
||
|
|
||
|
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public onActivityStopped(Landroid/app/Activity;)V
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "activity"
|
||
|
|
||
|
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|