143 lines
3.3 KiB
Smali
143 lines
3.3 KiB
Smali
.class public Lwc/m$x$a;
|
|
.super Ljava/lang/Object;
|
|
.source "SettingAi.java"
|
|
|
|
# interfaces
|
|
.implements Lcom/skt/tmap/musicmate/a;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lwc/m$x;->a(I)Z
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic a:I
|
|
|
|
.field public final synthetic b:Lwc/m$x;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lwc/m$x;I)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x8010,
|
|
0x1010
|
|
}
|
|
names = {
|
|
"this$1",
|
|
"val$prevIndex"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lwc/m$x$a;->b:Lwc/m$x;
|
|
|
|
iput p2, p0, Lwc/m$x$a;->a:I
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onComplete(Lcom/skt/tmap/musicmate/dto/MusicServiceResponseDto;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"resp"
|
|
}
|
|
.end annotation
|
|
|
|
const-string p1, "SettingAi"
|
|
|
|
const-string v0, "setUserDefaultMusicService : onComplete()"
|
|
|
|
.line 1
|
|
invoke-static {p1, v0}, Lcom/skt/tmap/util/c1;->a(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onFail(Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"resultCode",
|
|
"resultMessage"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lwc/m$x$a;->b:Lwc/m$x;
|
|
|
|
iget-object v0, v0, Lwc/m$x;->a:Lwc/m;
|
|
|
|
invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 2
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v1, "setUserDefaultMusicService : onFail() : "
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p1, " : "
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "SettingAi"
|
|
|
|
invoke-static {p2, p1}, Lcom/skt/tmap/util/c1;->a(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 3
|
|
new-instance p1, Landroid/os/Handler;
|
|
|
|
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
|
|
|
|
.line 4
|
|
new-instance p2, Lwc/m$x$a$a;
|
|
|
|
invoke-direct {p2, p0}, Lwc/m$x$a$a;-><init>(Lwc/m$x$a;)V
|
|
|
|
invoke-virtual {p1, p2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
|
|
|
|
return-void
|
|
.end method
|