142 lines
4.6 KiB
Smali
142 lines
4.6 KiB
Smali
|
.class final Lcom/discord/widgets/spectate/WidgetSpectateReportProblemDialog$onResume$3;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "WidgetSpectateReportProblemDialog.kt"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Landroid/view/View$OnClickListener;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Lcom/discord/widgets/spectate/WidgetSpectateReportProblemDialog;->onResume()V
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x18
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic this$0:Lcom/discord/widgets/spectate/WidgetSpectateReportProblemDialog;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Lcom/discord/widgets/spectate/WidgetSpectateReportProblemDialog;)V
|
||
|
.locals 0
|
||
|
|
||
|
iput-object p1, p0, Lcom/discord/widgets/spectate/WidgetSpectateReportProblemDialog$onResume$3;->this$0:Lcom/discord/widgets/spectate/WidgetSpectateReportProblemDialog;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public final onClick(Landroid/view/View;)V
|
||
|
.locals 2
|
||
|
|
||
|
iget-object p1, p0, Lcom/discord/widgets/spectate/WidgetSpectateReportProblemDialog$onResume$3;->this$0:Lcom/discord/widgets/spectate/WidgetSpectateReportProblemDialog;
|
||
|
|
||
|
invoke-static {p1}, Lcom/discord/widgets/spectate/WidgetSpectateReportProblemDialog;->access$getRadioGroup$p(Lcom/discord/widgets/spectate/WidgetSpectateReportProblemDialog;)Landroid/widget/RadioGroup;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {p1}, Landroid/widget/RadioGroup;->getCheckedRadioButtonId()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
const/4 v0, -0x1
|
||
|
|
||
|
if-ne p1, v0, :cond_0
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_0
|
||
|
packed-switch p1, :pswitch_data_0
|
||
|
|
||
|
:pswitch_0
|
||
|
new-instance v0, Ljava/lang/IllegalStateException;
|
||
|
|
||
|
invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
const-string v1, "invalid option selected: "
|
||
|
|
||
|
invoke-virtual {v1, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-direct {v0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
check-cast v0, Ljava/lang/Throwable;
|
||
|
|
||
|
throw v0
|
||
|
|
||
|
:pswitch_1
|
||
|
sget-object p1, Lcom/discord/widgets/spectate/WidgetSpectateViewModel$Problem;->BLACK_SCREEN:Lcom/discord/widgets/spectate/WidgetSpectateViewModel$Problem;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:pswitch_2
|
||
|
sget-object p1, Lcom/discord/widgets/spectate/WidgetSpectateViewModel$Problem;->OUT_OF_SYNC:Lcom/discord/widgets/spectate/WidgetSpectateViewModel$Problem;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:pswitch_3
|
||
|
sget-object p1, Lcom/discord/widgets/spectate/WidgetSpectateViewModel$Problem;->LAGGING:Lcom/discord/widgets/spectate/WidgetSpectateViewModel$Problem;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:pswitch_4
|
||
|
sget-object p1, Lcom/discord/widgets/spectate/WidgetSpectateViewModel$Problem;->BLURRY:Lcom/discord/widgets/spectate/WidgetSpectateViewModel$Problem;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:pswitch_5
|
||
|
sget-object p1, Lcom/discord/widgets/spectate/WidgetSpectateViewModel$Problem;->AUDIO_POOR:Lcom/discord/widgets/spectate/WidgetSpectateViewModel$Problem;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:pswitch_6
|
||
|
sget-object p1, Lcom/discord/widgets/spectate/WidgetSpectateViewModel$Problem;->AUDIO_MISSING:Lcom/discord/widgets/spectate/WidgetSpectateViewModel$Problem;
|
||
|
|
||
|
:goto_0
|
||
|
iget-object v0, p0, Lcom/discord/widgets/spectate/WidgetSpectateReportProblemDialog$onResume$3;->this$0:Lcom/discord/widgets/spectate/WidgetSpectateReportProblemDialog;
|
||
|
|
||
|
invoke-static {v0}, Lcom/discord/widgets/spectate/WidgetSpectateReportProblemDialog;->access$getViewModel$p(Lcom/discord/widgets/spectate/WidgetSpectateReportProblemDialog;)Lcom/discord/widgets/spectate/WidgetSpectateViewModel;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-virtual {v0, p1, v1}, Lcom/discord/widgets/spectate/WidgetSpectateViewModel;->reportProblem(Lcom/discord/widgets/spectate/WidgetSpectateViewModel$Problem;Z)V
|
||
|
|
||
|
iget-object p1, p0, Lcom/discord/widgets/spectate/WidgetSpectateReportProblemDialog$onResume$3;->this$0:Lcom/discord/widgets/spectate/WidgetSpectateReportProblemDialog;
|
||
|
|
||
|
invoke-virtual {p1}, Lcom/discord/widgets/spectate/WidgetSpectateReportProblemDialog;->getContext()Landroid/content/Context;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
const v0, 0x7f1210f0
|
||
|
|
||
|
invoke-static {p1, v0}, Lcom/discord/app/h;->c(Landroid/content/Context;I)V
|
||
|
|
||
|
return-void
|
||
|
|
||
|
nop
|
||
|
|
||
|
:pswitch_data_0
|
||
|
.packed-switch 0x7f0a0567
|
||
|
:pswitch_6
|
||
|
:pswitch_5
|
||
|
:pswitch_4
|
||
|
:pswitch_3
|
||
|
:pswitch_2
|
||
|
:pswitch_0
|
||
|
:pswitch_1
|
||
|
.end packed-switch
|
||
|
.end method
|