98 lines
2.6 KiB
Smali
98 lines
2.6 KiB
Smali
.class public final Lcom/discord/widgets/settings/WidgetSettingsDeveloper$ExperimentViewHolder$bind$1;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetSettingsDeveloper.kt"
|
|
|
|
# interfaces
|
|
.implements Landroid/widget/AdapterView$OnItemSelectedListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/settings/WidgetSettingsDeveloper$ExperimentViewHolder;->bind(Ljava/util/Map$Entry;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $bucketSelection:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(I)V
|
|
.locals 0
|
|
|
|
iput p1, p0, Lcom/discord/widgets/settings/WidgetSettingsDeveloper$ExperimentViewHolder$bind$1;->$bucketSelection:I
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onItemSelected(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/widget/AdapterView<",
|
|
"*>;",
|
|
"Landroid/view/View;",
|
|
"IJ)V"
|
|
}
|
|
.end annotation
|
|
|
|
iget p1, p0, Lcom/discord/widgets/settings/WidgetSettingsDeveloper$ExperimentViewHolder$bind$1;->$bucketSelection:I
|
|
|
|
if-ne p1, p3, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/16 p1, 0xa
|
|
|
|
const/4 p2, 0x2
|
|
|
|
const/4 p4, 0x0
|
|
|
|
if-ne p1, p3, :cond_1
|
|
|
|
sget-object p1, Lcom/discord/app/AppLog;->e:Lcom/discord/app/AppLog;
|
|
|
|
const-string p3, "Experiment overrides cleared"
|
|
|
|
invoke-static {p1, p3, p4, p2, p4}, Lcom/discord/utilities/logging/Logger;->d$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
sget-object p1, Lcom/discord/app/AppLog;->e:Lcom/discord/app/AppLog;
|
|
|
|
const-string p5, "Experiment overrides set to "
|
|
|
|
invoke-static {p5, p3}, Lf/e/c/a/a;->i(Ljava/lang/String;I)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p1, p3, p4, p2, p4}, Lcom/discord/utilities/logging/Logger;->d$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onNothingSelected(Landroid/widget/AdapterView;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/widget/AdapterView<",
|
|
"*>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|