2020-07-08 16:44:49 +00:00
|
|
|
.class public final Lcom/discord/widgets/home/WidgetHome$BackBehaviorFeatureFlag$handleExperiment$1;
|
2020-07-25 00:57:58 +00:00
|
|
|
.super Lj0/n/c/i;
|
2020-07-08 16:44:49 +00:00
|
|
|
.source "WidgetHome.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/widgets/home/WidgetHome$BackBehaviorFeatureFlag;->handleExperiment(Lcom/discord/stores/StoreExperiments$Experiment;)V
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-07-25 00:57:58 +00:00
|
|
|
"Lj0/n/c/i;",
|
2020-07-08 16:44:49 +00:00
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"Landroid/content/SharedPreferences$Editor;",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic $isEnabledExperiment:Z
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Z)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-boolean p1, p0, Lcom/discord/widgets/home/WidgetHome$BackBehaviorFeatureFlag$handleExperiment$1;->$isEnabledExperiment:Z
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-direct {p0, p1}, Lj0/n/c/i;-><init>(I)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
check-cast p1, Landroid/content/SharedPreferences$Editor;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/widgets/home/WidgetHome$BackBehaviorFeatureFlag$handleExperiment$1;->invoke(Landroid/content/SharedPreferences$Editor;)V
|
|
|
|
|
|
|
|
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final invoke(Landroid/content/SharedPreferences$Editor;)V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/home/WidgetHome$BackBehaviorFeatureFlag$handleExperiment$1;->$isEnabledExperiment:Z
|
|
|
|
|
|
|
|
const-string v1, "CACHE_KEY_BACK_BEHAVIOR_EXPERIMENT_BUCKET"
|
|
|
|
|
|
|
|
invoke-interface {p1, v1, v0}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "it"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|