apkfuckery/com.discord/smali/f/e/a/a/a$b.smali
2020-09-09 19:21:20 +00:00

109 lines
2.4 KiB
Smali

.class public final Lf/e/a/a/a$b;
.super Ljava/lang/Object;
.source "InstallReferrerClientImpl.java"
# interfaces
.implements Landroid/content/ServiceConnection;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lf/e/a/a/a;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x11
name = "b"
.end annotation
# instance fields
.field public final d:Lf/e/a/a/b;
.field public final synthetic e:Lf/e/a/a/a;
# direct methods
.method public constructor <init>(Lf/e/a/a/a;Lf/e/a/a/b;Lf/e/a/a/a$a;)V
.locals 0
iput-object p1, p0, Lf/e/a/a/a$b;->e:Lf/e/a/a/a;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
if-eqz p2, :cond_0
iput-object p2, p0, Lf/e/a/a/a$b;->d:Lf/e/a/a/b;
return-void
:cond_0
new-instance p1, Ljava/lang/RuntimeException;
const-string p2, "Please specify a listener to know when setup is done."
invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw p1
.end method
# virtual methods
.method public onServiceConnected(Landroid/content/ComponentName;Landroid/os/IBinder;)V
.locals 1
const-string p1, "InstallReferrerClient"
const-string v0, "Install Referrer service connected."
invoke-static {p1, v0}, Le0/a/b/b/a;->L(Ljava/lang/String;Ljava/lang/String;)V
iget-object p1, p0, Lf/e/a/a/a$b;->e:Lf/e/a/a/a;
invoke-static {p2}, Lf/h/a/d/a/a$a;->g(Landroid/os/IBinder;)Lf/h/a/d/a/a;
move-result-object p2
iput-object p2, p1, Lf/e/a/a/a;->c:Lf/h/a/d/a/a;
iget-object p1, p0, Lf/e/a/a/a$b;->e:Lf/e/a/a/a;
const/4 p2, 0x2
iput p2, p1, Lf/e/a/a/a;->a:I
iget-object p1, p0, Lf/e/a/a/a$b;->d:Lf/e/a/a/b;
const/4 p2, 0x0
invoke-interface {p1, p2}, Lf/e/a/a/b;->onInstallReferrerSetupFinished(I)V
return-void
.end method
.method public onServiceDisconnected(Landroid/content/ComponentName;)V
.locals 1
const-string p1, "InstallReferrerClient"
const-string v0, "Install Referrer service disconnected."
invoke-static {p1, v0}, Le0/a/b/b/a;->M(Ljava/lang/String;Ljava/lang/String;)V
iget-object p1, p0, Lf/e/a/a/a$b;->e:Lf/e/a/a/a;
const/4 v0, 0x0
iput-object v0, p1, Lf/e/a/a/a;->c:Lf/h/a/d/a/a;
const/4 v0, 0x0
iput v0, p1, Lf/e/a/a/a;->a:I
iget-object p1, p0, Lf/e/a/a/a$b;->d:Lf/e/a/a/b;
invoke-interface {p1}, Lf/e/a/a/b;->onInstallReferrerServiceDisconnected()V
return-void
.end method