apkfuckery/com.discord/smali_classes2/com/discord/widgets/settings/WidgetSettingsPrivacy.smali

2417 lines
82 KiB
Smali

.class public final Lcom/discord/widgets/settings/WidgetSettingsPrivacy;
.super Lcom/discord/app/AppFragment;
.source "WidgetSettingsPrivacy.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/discord/widgets/settings/WidgetSettingsPrivacy$LocalState;,
Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;,
Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Companion;
}
.end annotation
# static fields
.field public static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
.field public static final Companion:Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Companion;
# instance fields
.field public final dataAllowScreenreaderDetection$delegate:Lkotlin/properties/ReadOnlyProperty;
.field public final dataBasicService$delegate:Lkotlin/properties/ReadOnlyProperty;
.field public final dataPersonalization$delegate:Lkotlin/properties/ReadOnlyProperty;
.field public final dataPrivacyControls$delegate:Lkotlin/properties/ReadOnlyProperty;
.field public final dataRequest$delegate:Lkotlin/properties/ReadOnlyProperty;
.field public final dataRequestLink$delegate:Lkotlin/properties/ReadOnlyProperty;
.field public final dataStatistics$delegate:Lkotlin/properties/ReadOnlyProperty;
.field public final defaultGuildsRestrictedView$delegate:Lkotlin/properties/ReadOnlyProperty;
.field public dialog:Landroidx/appcompat/app/AlertDialog;
.field public final dimmer$delegate:Lkotlin/properties/ReadOnlyProperty;
.field public final explicitContentRadio0$delegate:Lkotlin/properties/ReadOnlyProperty;
.field public final explicitContentRadio1$delegate:Lkotlin/properties/ReadOnlyProperty;
.field public final explicitContentRadio2$delegate:Lkotlin/properties/ReadOnlyProperty;
.field public final explicitContentRadios$delegate:Lkotlin/Lazy;
.field public final friendSourceRadios$delegate:Lkotlin/Lazy;
.field public final privacyFriendSource0$delegate:Lkotlin/properties/ReadOnlyProperty;
.field public final privacyFriendSource1$delegate:Lkotlin/properties/ReadOnlyProperty;
.field public final privacyFriendSource2$delegate:Lkotlin/properties/ReadOnlyProperty;
.field public radioManagerExplicit:Lcom/discord/views/RadioManager;
.field public final userSettings:Lcom/discord/stores/StoreUserSettings;
# direct methods
.method public static constructor <clinit>()V
.locals 5
const/16 v0, 0xf
new-array v0, v0, [Lkotlin/reflect/KProperty;
const-class v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;
const-string v2, "explicitContentRadio0"
const-string v3, "getExplicitContentRadio0()Lcom/discord/views/CheckedSetting;"
const/4 v4, 0x0
invoke-static {v1, v2, v3, v4}, Lf/e/b/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lk0/n/c/r;
move-result-object v1
aput-object v1, v0, v4
const-class v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;
const-string v2, "explicitContentRadio1"
const-string v3, "getExplicitContentRadio1()Lcom/discord/views/CheckedSetting;"
invoke-static {v1, v2, v3, v4}, Lf/e/b/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lk0/n/c/r;
move-result-object v1
const/4 v2, 0x1
aput-object v1, v0, v2
const-class v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;
const-string v2, "explicitContentRadio2"
const-string v3, "getExplicitContentRadio2()Lcom/discord/views/CheckedSetting;"
invoke-static {v1, v2, v3, v4}, Lf/e/b/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lk0/n/c/r;
move-result-object v1
const/4 v2, 0x2
aput-object v1, v0, v2
const-class v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;
const-string v2, "privacyFriendSource0"
const-string v3, "getPrivacyFriendSource0()Lcom/discord/views/CheckedSetting;"
invoke-static {v1, v2, v3, v4}, Lf/e/b/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lk0/n/c/r;
move-result-object v1
const/4 v2, 0x3
aput-object v1, v0, v2
const-class v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;
const-string v2, "privacyFriendSource1"
const-string v3, "getPrivacyFriendSource1()Lcom/discord/views/CheckedSetting;"
invoke-static {v1, v2, v3, v4}, Lf/e/b/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lk0/n/c/r;
move-result-object v1
const/4 v2, 0x4
aput-object v1, v0, v2
const-class v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;
const-string v2, "privacyFriendSource2"
const-string v3, "getPrivacyFriendSource2()Lcom/discord/views/CheckedSetting;"
invoke-static {v1, v2, v3, v4}, Lf/e/b/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lk0/n/c/r;
move-result-object v1
const/4 v2, 0x5
aput-object v1, v0, v2
const-class v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;
const-string v2, "defaultGuildsRestrictedView"
const-string v3, "getDefaultGuildsRestrictedView()Lcom/discord/views/CheckedSetting;"
invoke-static {v1, v2, v3, v4}, Lf/e/b/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lk0/n/c/r;
move-result-object v1
const/4 v2, 0x6
aput-object v1, v0, v2
const-class v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;
const-string v2, "dataPrivacyControls"
const-string v3, "getDataPrivacyControls()Landroid/view/View;"
invoke-static {v1, v2, v3, v4}, Lf/e/b/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lk0/n/c/r;
move-result-object v1
const/4 v2, 0x7
aput-object v1, v0, v2
const-class v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;
const-string v2, "dataStatistics"
const-string v3, "getDataStatistics()Lcom/discord/views/CheckedSetting;"
invoke-static {v1, v2, v3, v4}, Lf/e/b/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lk0/n/c/r;
move-result-object v1
const/16 v2, 0x8
aput-object v1, v0, v2
const-class v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;
const-string v2, "dataPersonalization"
const-string v3, "getDataPersonalization()Lcom/discord/views/CheckedSetting;"
invoke-static {v1, v2, v3, v4}, Lf/e/b/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lk0/n/c/r;
move-result-object v1
const/16 v2, 0x9
aput-object v1, v0, v2
const-class v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;
const-string v2, "dataBasicService"
const-string v3, "getDataBasicService()Lcom/discord/views/CheckedSetting;"
invoke-static {v1, v2, v3, v4}, Lf/e/b/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lk0/n/c/r;
move-result-object v1
const/16 v2, 0xa
aput-object v1, v0, v2
const-class v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;
const-string v2, "dataAllowScreenreaderDetection"
const-string v3, "getDataAllowScreenreaderDetection()Lcom/discord/views/CheckedSetting;"
invoke-static {v1, v2, v3, v4}, Lf/e/b/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lk0/n/c/r;
move-result-object v1
const/16 v2, 0xb
aput-object v1, v0, v2
const-class v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;
const-string v2, "dataRequest"
const-string v3, "getDataRequest()Landroid/view/View;"
invoke-static {v1, v2, v3, v4}, Lf/e/b/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lk0/n/c/r;
move-result-object v1
const/16 v2, 0xc
aput-object v1, v0, v2
const-class v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;
const-string v2, "dataRequestLink"
const-string v3, "getDataRequestLink()Landroid/widget/TextView;"
invoke-static {v1, v2, v3, v4}, Lf/e/b/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lk0/n/c/r;
move-result-object v1
const/16 v2, 0xd
aput-object v1, v0, v2
const-class v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;
const-string v2, "dimmer"
const-string v3, "getDimmer()Lcom/discord/utilities/dimmer/DimmerView;"
invoke-static {v1, v2, v3, v4}, Lf/e/b/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lk0/n/c/r;
move-result-object v1
const/16 v2, 0xe
aput-object v1, v0, v2
sput-object v0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
new-instance v0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Companion;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->Companion:Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Companion;
return-void
.end method
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Lcom/discord/app/AppFragment;-><init>()V
const v0, 0x7f0a0947
invoke-static {p0, v0}, Lk0/j/a;->i(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->explicitContentRadio0$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0948
invoke-static {p0, v0}, Lk0/j/a;->i(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->explicitContentRadio1$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0949
invoke-static {p0, v0}, Lk0/j/a;->i(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->explicitContentRadio2$delegate:Lkotlin/properties/ReadOnlyProperty;
new-instance v0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$explicitContentRadios$2;
invoke-direct {v0, p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$explicitContentRadios$2;-><init>(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;)V
invoke-static {v0}, Lf/h/a/f/e/n/f;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->explicitContentRadios$delegate:Lkotlin/Lazy;
const v0, 0x7f0a094a
invoke-static {p0, v0}, Lk0/j/a;->i(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->privacyFriendSource0$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a094b
invoke-static {p0, v0}, Lk0/j/a;->i(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->privacyFriendSource1$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a094c
invoke-static {p0, v0}, Lk0/j/a;->i(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->privacyFriendSource2$delegate:Lkotlin/properties/ReadOnlyProperty;
new-instance v0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$friendSourceRadios$2;
invoke-direct {v0, p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$friendSourceRadios$2;-><init>(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;)V
invoke-static {v0}, Lf/h/a/f/e/n/f;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->friendSourceRadios$delegate:Lkotlin/Lazy;
const v0, 0x7f0a0944
invoke-static {p0, v0}, Lk0/j/a;->i(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->defaultGuildsRestrictedView$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0943
invoke-static {p0, v0}, Lk0/j/a;->i(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->dataPrivacyControls$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0951
invoke-static {p0, v0}, Lk0/j/a;->i(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->dataStatistics$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a094d
invoke-static {p0, v0}, Lk0/j/a;->i(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->dataPersonalization$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0942
invoke-static {p0, v0}, Lk0/j/a;->i(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->dataBasicService$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0950
invoke-static {p0, v0}, Lk0/j/a;->i(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->dataAllowScreenreaderDetection$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a094e
invoke-static {p0, v0}, Lk0/j/a;->i(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->dataRequest$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a094f
invoke-static {p0, v0}, Lk0/j/a;->i(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->dataRequestLink$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a030b
invoke-static {p0, v0}, Lk0/j/a;->i(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->dimmer$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getUserSettings()Lcom/discord/stores/StoreUserSettings;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->userSettings:Lcom/discord/stores/StoreUserSettings;
return-void
.end method
.method public static final synthetic access$configureRequestDataButton(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;ZLcom/discord/utilities/rest/RestAPI$HarvestState;)V
.locals 0
invoke-direct {p0, p1, p2}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->configureRequestDataButton(ZLcom/discord/utilities/rest/RestAPI$HarvestState;)V
return-void
.end method
.method public static final synthetic access$configureUI(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;)V
.locals 0
invoke-direct {p0, p1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->configureUI(Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;)V
return-void
.end method
.method public static final synthetic access$confirmConsent(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;Landroid/content/Context;Lkotlin/jvm/functions/Function5;)V
.locals 0
invoke-direct {p0, p1, p2}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->confirmConsent(Landroid/content/Context;Lkotlin/jvm/functions/Function5;)V
return-void
.end method
.method public static final synthetic access$getDataAllowScreenreaderDetection$p(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;)Lcom/discord/views/CheckedSetting;
.locals 0
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getDataAllowScreenreaderDetection()Lcom/discord/views/CheckedSetting;
move-result-object p0
return-object p0
.end method
.method public static final synthetic access$getDataPersonalization$p(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;)Lcom/discord/views/CheckedSetting;
.locals 0
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getDataPersonalization()Lcom/discord/views/CheckedSetting;
move-result-object p0
return-object p0
.end method
.method public static final synthetic access$getDataStatistics$p(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;)Lcom/discord/views/CheckedSetting;
.locals 0
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getDataStatistics()Lcom/discord/views/CheckedSetting;
move-result-object p0
return-object p0
.end method
.method public static final synthetic access$getDimmer$p(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;)Lcom/discord/utilities/dimmer/DimmerView;
.locals 0
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getDimmer()Lcom/discord/utilities/dimmer/DimmerView;
move-result-object p0
return-object p0
.end method
.method public static final synthetic access$getExplicitContentRadio0$p(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;)Lcom/discord/views/CheckedSetting;
.locals 0
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getExplicitContentRadio0()Lcom/discord/views/CheckedSetting;
move-result-object p0
return-object p0
.end method
.method public static final synthetic access$getExplicitContentRadio1$p(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;)Lcom/discord/views/CheckedSetting;
.locals 0
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getExplicitContentRadio1()Lcom/discord/views/CheckedSetting;
move-result-object p0
return-object p0
.end method
.method public static final synthetic access$getExplicitContentRadio2$p(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;)Lcom/discord/views/CheckedSetting;
.locals 0
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getExplicitContentRadio2()Lcom/discord/views/CheckedSetting;
move-result-object p0
return-object p0
.end method
.method public static final synthetic access$getPrivacyFriendSource0$p(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;)Lcom/discord/views/CheckedSetting;
.locals 0
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getPrivacyFriendSource0()Lcom/discord/views/CheckedSetting;
move-result-object p0
return-object p0
.end method
.method public static final synthetic access$getPrivacyFriendSource1$p(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;)Lcom/discord/views/CheckedSetting;
.locals 0
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getPrivacyFriendSource1()Lcom/discord/views/CheckedSetting;
move-result-object p0
return-object p0
.end method
.method public static final synthetic access$getPrivacyFriendSource2$p(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;)Lcom/discord/views/CheckedSetting;
.locals 0
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getPrivacyFriendSource2()Lcom/discord/views/CheckedSetting;
move-result-object p0
return-object p0
.end method
.method public static final synthetic access$getUserSettings$p(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;)Lcom/discord/stores/StoreUserSettings;
.locals 0
iget-object p0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->userSettings:Lcom/discord/stores/StoreUserSettings;
return-object p0
.end method
.method public static final synthetic access$onRequestDataClick(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;Landroid/content/Context;Lcom/discord/utilities/rest/RestAPI$HarvestState;)V
.locals 0
invoke-direct {p0, p1, p2}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->onRequestDataClick(Landroid/content/Context;Lcom/discord/utilities/rest/RestAPI$HarvestState;)V
return-void
.end method
.method public static final synthetic access$showDefaultGuildsRestrictedExistingServers(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;Z)V
.locals 0
invoke-direct {p0, p1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->showDefaultGuildsRestrictedExistingServers(Z)V
return-void
.end method
.method public static final synthetic access$toggleConsent(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;ZLjava/lang/String;Lcom/discord/views/CheckedSetting;)V
.locals 0
invoke-direct {p0, p1, p2, p3}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->toggleConsent(ZLjava/lang/String;Lcom/discord/views/CheckedSetting;)V
return-void
.end method
.method public static final synthetic access$updateDefaultGuildsRestricted(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;ZZ)V
.locals 0
invoke-direct {p0, p1, p2}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->updateDefaultGuildsRestricted(ZZ)V
return-void
.end method
.method public static final synthetic access$updateFriendSourceFlags(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;IZ)V
.locals 0
invoke-direct {p0, p1, p2}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->updateFriendSourceFlags(IZ)V
return-void
.end method
.method private final configureDefaultGuildsRestricted(Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;)V
.locals 2
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getDefaultGuildsRestrictedView()Lcom/discord/views/CheckedSetting;
move-result-object v0
invoke-virtual {p1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;->getDefaultRestrictedGuilds()Z
move-result v1
xor-int/lit8 v1, v1, 0x1
invoke-virtual {v0, v1}, Lcom/discord/views/CheckedSetting;->setChecked(Z)V
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getDefaultGuildsRestrictedView()Lcom/discord/views/CheckedSetting;
move-result-object v0
new-instance v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$configureDefaultGuildsRestricted$1;
invoke-direct {v1, p0, p1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$configureDefaultGuildsRestricted$1;-><init>(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;)V
invoke-virtual {v0, v1}, Lcom/discord/views/CheckedSetting;->e(Landroid/view/View$OnClickListener;)V
return-void
.end method
.method private final configureExplicitContentRadio(Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;Lcom/discord/views/CheckedSetting;I)V
.locals 1
new-instance v0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$configureExplicitContentRadio$1;
invoke-direct {v0, p0, p3}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$configureExplicitContentRadio$1;-><init>(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;I)V
invoke-virtual {p2, v0}, Lcom/discord/views/CheckedSetting;->e(Landroid/view/View$OnClickListener;)V
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->radioManagerExplicit:Lcom/discord/views/RadioManager;
if-eqz v0, :cond_0
invoke-virtual {p1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;->getExplicitContentFilter()I
move-result p1
if-ne p1, p3, :cond_0
iget-object p1, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->radioManagerExplicit:Lcom/discord/views/RadioManager;
if-eqz p1, :cond_0
invoke-virtual {p1, p2}, Lcom/discord/views/RadioManager;->a(Landroid/widget/Checkable;)V
:cond_0
return-void
.end method
.method private final configureFriendSourceRadio(Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;)V
.locals 6
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getFriendSourceRadios()Ljava/util/List;
move-result-object v0
const/4 v1, 0x0
invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/discord/views/CheckedSetting;
new-instance v2, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$configureFriendSourceRadio$1;
invoke-direct {v2, p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$configureFriendSourceRadio$1;-><init>(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;)V
invoke-virtual {v0, v2}, Lcom/discord/views/CheckedSetting;->setOnCheckedListener(Lrx/functions/Action1;)V
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getFriendSourceRadios()Ljava/util/List;
move-result-object v0
const/4 v2, 0x1
invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/discord/views/CheckedSetting;
new-instance v3, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$configureFriendSourceRadio$2;
invoke-direct {v3, p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$configureFriendSourceRadio$2;-><init>(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;)V
invoke-virtual {v0, v3}, Lcom/discord/views/CheckedSetting;->setOnCheckedListener(Lrx/functions/Action1;)V
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getFriendSourceRadios()Ljava/util/List;
move-result-object v0
const/4 v3, 0x2
invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/discord/views/CheckedSetting;
new-instance v4, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$configureFriendSourceRadio$3;
invoke-direct {v4, p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$configureFriendSourceRadio$3;-><init>(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;)V
invoke-virtual {v0, v4}, Lcom/discord/views/CheckedSetting;->setOnCheckedListener(Lrx/functions/Action1;)V
invoke-virtual {p1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;->getFriendSourceFlags()Lcom/discord/models/domain/ModelUserSettings$FriendSourceFlags;
move-result-object v0
if-eqz v0, :cond_0
invoke-virtual {v0}, Lcom/discord/models/domain/ModelUserSettings$FriendSourceFlags;->isAll()Z
move-result v0
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getFriendSourceRadios()Ljava/util/List;
move-result-object v4
invoke-interface {v4, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v4
check-cast v4, Lcom/discord/views/CheckedSetting;
invoke-virtual {v4, v0}, Lcom/discord/views/CheckedSetting;->setChecked(Z)V
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getFriendSourceRadios()Ljava/util/List;
move-result-object v4
invoke-interface {v4, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v4
check-cast v4, Lcom/discord/views/CheckedSetting;
invoke-virtual {p1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;->getFriendSourceFlags()Lcom/discord/models/domain/ModelUserSettings$FriendSourceFlags;
move-result-object v5
if-eqz v5, :cond_1
invoke-virtual {v5}, Lcom/discord/models/domain/ModelUserSettings$FriendSourceFlags;->isMutualFriends()Z
move-result v5
goto :goto_1
:cond_1
const/4 v5, 0x0
:goto_1
if-nez v5, :cond_3
if-eqz v0, :cond_2
goto :goto_2
:cond_2
const/4 v5, 0x0
goto :goto_3
:cond_3
:goto_2
const/4 v5, 0x1
:goto_3
invoke-virtual {v4, v5}, Lcom/discord/views/CheckedSetting;->setChecked(Z)V
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getFriendSourceRadios()Ljava/util/List;
move-result-object v4
invoke-interface {v4, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lcom/discord/views/CheckedSetting;
invoke-virtual {p1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;->getFriendSourceFlags()Lcom/discord/models/domain/ModelUserSettings$FriendSourceFlags;
move-result-object p1
if-eqz p1, :cond_4
invoke-virtual {p1}, Lcom/discord/models/domain/ModelUserSettings$FriendSourceFlags;->isMutualGuilds()Z
move-result p1
goto :goto_4
:cond_4
const/4 p1, 0x0
:goto_4
if-nez p1, :cond_5
if-eqz v0, :cond_6
:cond_5
const/4 v1, 0x1
:cond_6
invoke-virtual {v3, v1}, Lcom/discord/views/CheckedSetting;->setChecked(Z)V
return-void
.end method
.method private final configurePrivacyControls(Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;)V
.locals 3
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
move-result-object v0
if-eqz v0, :cond_0
const-string v1, "context ?: return"
invoke-static {v0, v1}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getDataPrivacyControls()Landroid/view/View;
move-result-object v1
const/4 v2, 0x0
invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getDataStatistics()Lcom/discord/views/CheckedSetting;
move-result-object v1
invoke-virtual {p1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;->getConsents()Lcom/discord/models/domain/Consents;
move-result-object v2
invoke-virtual {v2}, Lcom/discord/models/domain/Consents;->getUsageStatistics()Lcom/discord/models/domain/Consent;
move-result-object v2
invoke-virtual {v2}, Lcom/discord/models/domain/Consent;->getConsented()Z
move-result v2
invoke-virtual {v1, v2}, Lcom/discord/views/CheckedSetting;->setChecked(Z)V
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getDataStatistics()Lcom/discord/views/CheckedSetting;
move-result-object v1
new-instance v2, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$configurePrivacyControls$1;
invoke-direct {v2, p0, v0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$configurePrivacyControls$1;-><init>(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;Landroid/content/Context;)V
invoke-virtual {v1, v2}, Lcom/discord/views/CheckedSetting;->setOnCheckedListener(Lrx/functions/Action1;)V
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getDataPersonalization()Lcom/discord/views/CheckedSetting;
move-result-object v1
invoke-virtual {p1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;->getConsents()Lcom/discord/models/domain/Consents;
move-result-object p1
invoke-virtual {p1}, Lcom/discord/models/domain/Consents;->getPersonalization()Lcom/discord/models/domain/Consent;
move-result-object p1
invoke-virtual {p1}, Lcom/discord/models/domain/Consent;->getConsented()Z
move-result p1
invoke-virtual {v1, p1}, Lcom/discord/views/CheckedSetting;->setChecked(Z)V
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getDataPersonalization()Lcom/discord/views/CheckedSetting;
move-result-object p1
new-instance v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$configurePrivacyControls$2;
invoke-direct {v1, p0, v0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$configurePrivacyControls$2;-><init>(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;Landroid/content/Context;)V
invoke-virtual {p1, v1}, Lcom/discord/views/CheckedSetting;->setOnCheckedListener(Lrx/functions/Action1;)V
:cond_0
return-void
.end method
.method private final configureRequestDataButton(ZLcom/discord/utilities/rest/RestAPI$HarvestState;)V
.locals 2
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getDataRequest()Landroid/view/View;
move-result-object v0
new-instance v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$configureRequestDataButton$1;
invoke-direct {v1, p0, p1, p2}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$configureRequestDataButton$1;-><init>(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;ZLcom/discord/utilities/rest/RestAPI$HarvestState;)V
invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
return-void
.end method
.method private final configureUI(Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;)V
.locals 2
invoke-direct {p0, p1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->configureDefaultGuildsRestricted(Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;)V
invoke-direct {p0, p1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->configureFriendSourceRadio(Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;)V
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getExplicitContentRadios()Ljava/util/List;
move-result-object v0
const/4 v1, 0x0
invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/discord/views/CheckedSetting;
invoke-direct {p0, p1, v0, v1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->configureExplicitContentRadio(Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;Lcom/discord/views/CheckedSetting;I)V
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getExplicitContentRadios()Ljava/util/List;
move-result-object v0
const/4 v1, 0x1
invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/discord/views/CheckedSetting;
invoke-direct {p0, p1, v0, v1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->configureExplicitContentRadio(Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;Lcom/discord/views/CheckedSetting;I)V
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getExplicitContentRadios()Ljava/util/List;
move-result-object v0
const/4 v1, 0x2
invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/discord/views/CheckedSetting;
invoke-direct {p0, p1, v0, v1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->configureExplicitContentRadio(Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;Lcom/discord/views/CheckedSetting;I)V
invoke-direct {p0, p1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->configurePrivacyControls(Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;)V
invoke-virtual {p1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;->getMe()Lcom/discord/models/domain/ModelUser;
move-result-object v0
invoke-virtual {v0}, Lcom/discord/models/domain/ModelUser;->isVerified()Z
move-result v0
invoke-virtual {p1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;->getHarvestState()Lcom/discord/utilities/rest/RestAPI$HarvestState;
move-result-object p1
invoke-direct {p0, v0, p1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->configureRequestDataButton(ZLcom/discord/utilities/rest/RestAPI$HarvestState;)V
return-void
.end method
.method private final confirmConsent(Landroid/content/Context;Lkotlin/jvm/functions/Function5;)V
.locals 7
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lkotlin/jvm/functions/Function5<",
"-",
"Landroidx/appcompat/app/AlertDialog;",
"-",
"Landroid/widget/TextView;",
"-",
"Landroid/widget/TextView;",
"-",
"Landroid/widget/TextView;",
"-",
"Landroid/widget/TextView;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
const v0, 0x7f0d011c
const/4 v1, 0x0
invoke-static {p1, v0, v1}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
move-result-object v0
new-instance v1, Landroidx/appcompat/app/AlertDialog$Builder;
invoke-direct {v1, p1}, Landroidx/appcompat/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V
invoke-virtual {v1, v0}, Landroidx/appcompat/app/AlertDialog$Builder;->setView(Landroid/view/View;)Landroidx/appcompat/app/AlertDialog$Builder;
move-result-object p1
const/4 v1, 0x0
invoke-virtual {p1, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setCancelable(Z)Landroidx/appcompat/app/AlertDialog$Builder;
move-result-object p1
invoke-virtual {p1}, Landroidx/appcompat/app/AlertDialog$Builder;->create()Landroidx/appcompat/app/AlertDialog;
move-result-object p1
const-string v1, "AlertDialog.Builder(this\u2026(false)\n .create()"
invoke-static {p1, v1}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
const v1, 0x7f0a0ac1
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v3
const-string v1, "dialogView.findViewById(\u2026alog_confirmation_header)"
invoke-static {v3, v1}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
const v1, 0x7f0a0ac2
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v4
const-string v1, "dialogView.findViewById(\u2026dialog_confirmation_text)"
invoke-static {v4, v1}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
const v1, 0x7f0a0abf
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v5
const-string v1, "dialogView.findViewById(\u2026alog_confirmation_cancel)"
invoke-static {v5, v1}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
const v1, 0x7f0a0ac0
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v6
const-string v0, "dialogView.findViewById(\u2026log_confirmation_confirm)"
invoke-static {v6, v0}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
move-object v1, p2
move-object v2, p1
invoke-interface/range {v1 .. v6}, Lkotlin/jvm/functions/Function5;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
invoke-virtual {p1}, Landroid/app/Dialog;->show()V
return-void
.end method
.method private final getDataAllowScreenreaderDetection()Lcom/discord/views/CheckedSetting;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->dataAllowScreenreaderDetection$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0xb
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/discord/views/CheckedSetting;
return-object v0
.end method
.method private final getDataBasicService()Lcom/discord/views/CheckedSetting;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->dataBasicService$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0xa
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/discord/views/CheckedSetting;
return-object v0
.end method
.method private final getDataPersonalization()Lcom/discord/views/CheckedSetting;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->dataPersonalization$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0x9
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/discord/views/CheckedSetting;
return-object v0
.end method
.method private final getDataPrivacyControls()Landroid/view/View;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->dataPrivacyControls$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/4 v2, 0x7
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/view/View;
return-object v0
.end method
.method private final getDataRequest()Landroid/view/View;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->dataRequest$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0xc
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/view/View;
return-object v0
.end method
.method private final getDataRequestLink()Landroid/widget/TextView;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->dataRequestLink$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0xd
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/widget/TextView;
return-object v0
.end method
.method private final getDataStatistics()Lcom/discord/views/CheckedSetting;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->dataStatistics$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0x8
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/discord/views/CheckedSetting;
return-object v0
.end method
.method private final getDefaultGuildsRestrictedView()Lcom/discord/views/CheckedSetting;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->defaultGuildsRestrictedView$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/4 v2, 0x6
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/discord/views/CheckedSetting;
return-object v0
.end method
.method private final getDimmer()Lcom/discord/utilities/dimmer/DimmerView;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->dimmer$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0xe
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/discord/utilities/dimmer/DimmerView;
return-object v0
.end method
.method private final getExplicitContentRadio0()Lcom/discord/views/CheckedSetting;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->explicitContentRadio0$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/4 v2, 0x0
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/discord/views/CheckedSetting;
return-object v0
.end method
.method private final getExplicitContentRadio1()Lcom/discord/views/CheckedSetting;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->explicitContentRadio1$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/4 v2, 0x1
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/discord/views/CheckedSetting;
return-object v0
.end method
.method private final getExplicitContentRadio2()Lcom/discord/views/CheckedSetting;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->explicitContentRadio2$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/4 v2, 0x2
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/discord/views/CheckedSetting;
return-object v0
.end method
.method private final getExplicitContentRadios()Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lcom/discord/views/CheckedSetting;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->explicitContentRadios$delegate:Lkotlin/Lazy;
invoke-interface {v0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/List;
return-object v0
.end method
.method private final getFriendSourceRadios()Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lcom/discord/views/CheckedSetting;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->friendSourceRadios$delegate:Lkotlin/Lazy;
invoke-interface {v0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/List;
return-object v0
.end method
.method private final getPrivacyFriendSource0()Lcom/discord/views/CheckedSetting;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->privacyFriendSource0$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/4 v2, 0x3
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/discord/views/CheckedSetting;
return-object v0
.end method
.method private final getPrivacyFriendSource1()Lcom/discord/views/CheckedSetting;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->privacyFriendSource1$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/4 v2, 0x4
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/discord/views/CheckedSetting;
return-object v0
.end method
.method private final getPrivacyFriendSource2()Lcom/discord/views/CheckedSetting;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->privacyFriendSource2$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/4 v2, 0x5
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/discord/views/CheckedSetting;
return-object v0
.end method
.method public static final launch(Landroid/content/Context;)V
.locals 1
sget-object v0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->Companion:Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Companion;
invoke-virtual {v0, p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Companion;->launch(Landroid/content/Context;)V
return-void
.end method
.method private final onRequestDataClick(Landroid/content/Context;Lcom/discord/utilities/rest/RestAPI$HarvestState;)V
.locals 4
new-instance v0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$onRequestDataClick$1;
invoke-direct {v0, p0, p1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$onRequestDataClick$1;-><init>(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;Landroid/content/Context;)V
new-instance v1, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$onRequestDataClick$2;
invoke-direct {v1, p0, p1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$onRequestDataClick$2;-><init>(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;Landroid/content/Context;)V
new-instance v2, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$onRequestDataClick$3;
invoke-direct {v2, p0, p1, v1, v0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$onRequestDataClick$3;-><init>(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;Landroid/content/Context;Lcom/discord/widgets/settings/WidgetSettingsPrivacy$onRequestDataClick$2;Lcom/discord/widgets/settings/WidgetSettingsPrivacy$onRequestDataClick$1;)V
new-instance v0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$onRequestDataClick$4;
invoke-direct {v0, p0, p1, v2}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$onRequestDataClick$4;-><init>(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;Landroid/content/Context;Lcom/discord/widgets/settings/WidgetSettingsPrivacy$onRequestDataClick$3;)V
instance-of p1, p2, Lcom/discord/utilities/rest/RestAPI$HarvestState$NeverRequested;
if-eqz p1, :cond_0
invoke-virtual {v0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$onRequestDataClick$4;->invoke()V
goto :goto_0
:cond_0
instance-of p1, p2, Lcom/discord/utilities/rest/RestAPI$HarvestState$LastRequested;
if-eqz p1, :cond_2
check-cast p2, Lcom/discord/utilities/rest/RestAPI$HarvestState$LastRequested;
invoke-virtual {p2}, Lcom/discord/utilities/rest/RestAPI$HarvestState$LastRequested;->getData()Lcom/discord/models/domain/Harvest;
move-result-object p1
const-wide/16 v1, 0x0
const/4 p2, 0x1
const/4 v3, 0x0
invoke-static {p1, v1, v2, p2, v3}, Lcom/discord/models/domain/Harvest;->canRequest$default(Lcom/discord/models/domain/Harvest;JILjava/lang/Object;)Z
move-result p2
if-eqz p2, :cond_1
invoke-virtual {v0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$onRequestDataClick$4;->invoke()V
goto :goto_0
:cond_1
invoke-virtual {p1}, Lcom/discord/models/domain/Harvest;->nextAvailableRequestInMillis()J
move-result-wide p1
invoke-direct {p0, p1, p2}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->showNextAvailableRequestAlert(J)V
:cond_2
:goto_0
return-void
.end method
.method private final showDefaultGuildsRestrictedExistingServers(Z)V
.locals 3
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
move-result-object v0
const v1, 0x7f0d0290
const/4 v2, 0x0
invoke-static {v0, v1, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
move-result-object v0
const v1, 0x7f0a0945
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Landroid/widget/TextView;
new-instance v2, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$showDefaultGuildsRestrictedExistingServers$$inlined$apply$lambda$1;
invoke-direct {v2, p0, p1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$showDefaultGuildsRestrictedExistingServers$$inlined$apply$lambda$1;-><init>(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;Z)V
invoke-virtual {v1, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
const v1, 0x7f0a0946
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Landroid/widget/TextView;
new-instance v2, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$showDefaultGuildsRestrictedExistingServers$$inlined$apply$lambda$2;
invoke-direct {v2, p0, p1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$showDefaultGuildsRestrictedExistingServers$$inlined$apply$lambda$2;-><init>(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;Z)V
invoke-virtual {v1, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
iget-object p1, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->dialog:Landroidx/appcompat/app/AlertDialog;
if-eqz p1, :cond_0
invoke-virtual {p1}, Landroidx/appcompat/app/AppCompatDialog;->dismiss()V
:cond_0
new-instance p1, Landroidx/appcompat/app/AlertDialog$Builder;
const-string v1, "view"
invoke-static {v0, v1}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v0}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object v1
invoke-direct {p1, v1}, Landroidx/appcompat/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V
invoke-virtual {p1, v0}, Landroidx/appcompat/app/AlertDialog$Builder;->setView(Landroid/view/View;)Landroidx/appcompat/app/AlertDialog$Builder;
move-result-object p1
invoke-virtual {p1}, Landroidx/appcompat/app/AlertDialog$Builder;->create()Landroidx/appcompat/app/AlertDialog;
move-result-object p1
iput-object p1, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->dialog:Landroidx/appcompat/app/AlertDialog;
if-eqz p1, :cond_1
invoke-virtual {p1}, Landroid/app/Dialog;->show()V
:cond_1
return-void
.end method
.method private final showNextAvailableRequestAlert(J)V
.locals 8
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
move-result-object v7
if-eqz v7, :cond_0
const-string v0, "context ?: return"
invoke-static {v7, v0}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v0, Lcom/discord/utilities/time/TimeUtils;->INSTANCE:Lcom/discord/utilities/time/TimeUtils;
const/4 v4, 0x0
const/4 v5, 0x4
const/4 v6, 0x0
move-wide v1, p1
move-object v3, v7
invoke-static/range {v0 .. v6}, Lcom/discord/utilities/time/TimeUtils;->renderUtcDate$default(Lcom/discord/utilities/time/TimeUtils;JLandroid/content/Context;IILjava/lang/Object;)Ljava/lang/String;
move-result-object p1
const p2, 0x7f120552
const/4 v0, 0x1
new-array v0, v0, [Ljava/lang/Object;
const/4 v1, 0x0
aput-object p1, v0, v1
invoke-virtual {v7, p2, v0}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
const-string p2, "context.getString(R.stri\u2026ted_status_note, dateStr)"
invoke-static {p1, p2}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
new-instance p2, Lcom/discord/widgets/notice/WidgetNoticeDialog$Builder;
invoke-direct {p2, v7}, Lcom/discord/widgets/notice/WidgetNoticeDialog$Builder;-><init>(Landroid/content/Context;)V
const v0, 0x7f120569
invoke-virtual {p2, v0}, Lcom/discord/widgets/notice/WidgetNoticeDialog$Builder;->setTitle(I)Lcom/discord/widgets/notice/WidgetNoticeDialog$Builder;
move-result-object p2
invoke-virtual {p2, p1}, Lcom/discord/widgets/notice/WidgetNoticeDialog$Builder;->setMessage(Ljava/lang/String;)Lcom/discord/widgets/notice/WidgetNoticeDialog$Builder;
move-result-object p1
const p2, 0x7f1210de
const/4 v0, 0x2
const/4 v1, 0x0
invoke-static {p1, p2, v1, v0, v1}, Lcom/discord/widgets/notice/WidgetNoticeDialog$Builder;->setPositiveButton$default(Lcom/discord/widgets/notice/WidgetNoticeDialog$Builder;ILkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lcom/discord/widgets/notice/WidgetNoticeDialog$Builder;
move-result-object p1
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getParentFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object p2
const-string v0, "parentFragmentManager"
invoke-static {p2, v0}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1, p2}, Lcom/discord/widgets/notice/WidgetNoticeDialog$Builder;->show(Landroidx/fragment/app/FragmentManager;)V
:cond_0
return-void
.end method
.method private final toggleConsent(ZLjava/lang/String;Lcom/discord/views/CheckedSetting;)V
.locals 4
sget-object v0, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
invoke-virtual {v0}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
move-result-object v0
invoke-virtual {v0, p1, p2}, Lcom/discord/utilities/rest/RestAPI;->setConsent(ZLjava/lang/String;)Lrx/Observable;
move-result-object p2
const/4 v0, 0x0
const/4 v1, 0x2
invoke-static {p2, p0, v0, v1, v0}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui$default(Lrx/Observable;Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;ILjava/lang/Object;)Lrx/Observable;
move-result-object p2
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getDimmer()Lcom/discord/utilities/dimmer/DimmerView;
move-result-object v0
new-instance v1, Lf/a/b/o0;
const-wide/16 v2, 0x64
invoke-direct {v1, v0, v2, v3}, Lf/a/b/o0;-><init>(Lcom/discord/utilities/dimmer/DimmerView;J)V
invoke-virtual {p2, v1}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
move-result-object p2
sget-object v0, Lf/a/b/s;->a:Lf/a/b/s;
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
move-result-object v1
new-instance v2, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$toggleConsent$1;
invoke-direct {v2, p3}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$toggleConsent$1;-><init>(Lcom/discord/views/CheckedSetting;)V
new-instance v3, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$toggleConsent$2;
invoke-direct {v3, p3, p1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$toggleConsent$2;-><init>(Lcom/discord/views/CheckedSetting;Z)V
invoke-virtual {v0, v1, v2, v3}, Lf/a/b/s;->k(Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;)Lrx/Observable$c;
move-result-object p1
invoke-virtual {p2, p1}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
return-void
.end method
.method private final updateDefaultGuildsRestricted(ZZ)V
.locals 7
const/4 v6, 0x0
if-nez p2, :cond_0
new-instance p2, Lt0/l/e/j;
invoke-direct {p2, v6}, Lt0/l/e/j;-><init>(Ljava/lang/Object;)V
goto :goto_0
:cond_0
if-nez p1, :cond_1
sget-object p2, Lk0/i/n;->d:Lk0/i/n;
new-instance v0, Lt0/l/e/j;
invoke-direct {v0, p2}, Lt0/l/e/j;-><init>(Ljava/lang/Object;)V
move-object p2, v0
goto :goto_0
:cond_1
sget-object p2, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {p2}, Lcom/discord/stores/StoreStream$Companion;->getGuilds()Lcom/discord/stores/StoreGuilds;
move-result-object p2
invoke-virtual {p2}, Lcom/discord/stores/StoreGuilds;->observeGuilds()Lrx/Observable;
move-result-object p2
sget-object v0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$updateDefaultGuildsRestricted$1;->INSTANCE:Lcom/discord/widgets/settings/WidgetSettingsPrivacy$updateDefaultGuildsRestricted$1;
invoke-virtual {p2, v0}, Lrx/Observable;->E(Lt0/k/b;)Lrx/Observable;
move-result-object p2
:goto_0
const/4 v0, 0x1
invoke-virtual {p2, v0}, Lrx/Observable;->V(I)Lrx/Observable;
move-result-object p2
const-string v0, "when {\n !applyToExi\u2026 }\n }\n .take(1)"
invoke-static {p2, v0}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v0, 0x2
invoke-static {p2, p0, v6, v0, v6}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui$default(Lrx/Observable;Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;ILjava/lang/Object;)Lrx/Observable;
move-result-object p2
new-instance v4, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$updateDefaultGuildsRestricted$2;
invoke-direct {v4, p0, p1}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$updateDefaultGuildsRestricted$2;-><init>(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;Z)V
const-class v2, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;
const/16 p1, 0x3c
and-int/lit8 v0, p1, 0x4
and-int/lit8 v0, p1, 0x8
and-int/lit8 v0, p1, 0x10
and-int/lit8 p1, p1, 0x20
const-string p1, "onNext"
invoke-static {v4, p1}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string p1, "errorClass"
invoke-static {v2, p1}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance p1, Lf/a/b/c0;
move-object v0, p1
move-object v1, v6
move-object v3, v6
move-object v5, v6
invoke-direct/range {v0 .. v6}, Lf/a/b/c0;-><init>(Landroid/content/Context;Ljava/lang/Class;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;Lkotlin/jvm/functions/Function0;)V
invoke-virtual {p2, p1}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
iget-object p1, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->dialog:Landroidx/appcompat/app/AlertDialog;
if-eqz p1, :cond_2
invoke-virtual {p1}, Landroidx/appcompat/app/AppCompatDialog;->dismiss()V
:cond_2
return-void
.end method
.method private final updateFriendSourceFlags(IZ)V
.locals 6
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getFriendSourceRadios()Ljava/util/List;
move-result-object v0
const/4 v1, 0x0
invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/discord/views/CheckedSetting;
invoke-virtual {v0}, Lcom/discord/views/CheckedSetting;->isChecked()Z
move-result v0
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getFriendSourceRadios()Ljava/util/List;
move-result-object v2
const/4 v3, 0x1
invoke-interface {v2, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Lcom/discord/views/CheckedSetting;
invoke-virtual {v2}, Lcom/discord/views/CheckedSetting;->isChecked()Z
move-result v2
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getFriendSourceRadios()Ljava/util/List;
move-result-object v4
const/4 v5, 0x2
invoke-interface {v4, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v4
check-cast v4, Lcom/discord/views/CheckedSetting;
invoke-virtual {v4}, Lcom/discord/views/CheckedSetting;->isChecked()Z
move-result v4
if-eqz v0, :cond_0
if-eqz v2, :cond_0
if-nez v4, :cond_1
:cond_0
if-nez p1, :cond_2
if-eqz p2, :cond_2
:cond_1
const/4 v1, 0x1
:cond_2
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getUserSettings()Lcom/discord/stores/StoreUserSettings;
move-result-object p1
invoke-virtual {p0}, Lcom/discord/app/AppFragment;->getAppActivity()Lcom/discord/app/AppActivity;
move-result-object p2
invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v1
invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v2
invoke-virtual {p1, p2, v0, v1, v2}, Lcom/discord/stores/StoreUserSettings;->setFriendSourceFlags(Lcom/discord/app/AppActivity;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
return-void
.end method
# virtual methods
.method public getContentViewResId()I
.locals 1
const v0, 0x7f0d028f
return v0
.end method
.method public onPause()V
.locals 1
invoke-super {p0}, Lcom/discord/app/AppFragment;->onPause()V
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->dialog:Landroidx/appcompat/app/AlertDialog;
if-eqz v0, :cond_0
invoke-virtual {v0}, Landroidx/appcompat/app/AppCompatDialog;->dismiss()V
:cond_0
return-void
.end method
.method public onViewBound(Landroid/view/View;)V
.locals 20
move-object/from16 v0, p0
const-string v1, "view"
move-object/from16 v2, p1
invoke-static {v2, v1}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-super/range {p0 .. p1}, Lcom/discord/app/AppFragment;->onViewBound(Landroid/view/View;)V
const/4 v1, 0x0
const/4 v3, 0x1
const/4 v4, 0x0
invoke-static {v0, v1, v3, v4}, Lcom/discord/app/AppFragment;->setActionBarDisplayHomeAsUpEnabled$default(Lcom/discord/app/AppFragment;ZILjava/lang/Object;)Landroidx/appcompat/widget/Toolbar;
const v5, 0x7f121797
invoke-virtual {v0, v5}, Lcom/discord/app/AppFragment;->setActionBarSubtitle(I)Lkotlin/Unit;
const v5, 0x7f121315
invoke-virtual {v0, v5}, Lcom/discord/app/AppFragment;->setActionBarTitle(I)Lkotlin/Unit;
new-instance v5, Lcom/discord/views/RadioManager;
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getExplicitContentRadios()Ljava/util/List;
move-result-object v6
invoke-direct {v5, v6}, Lcom/discord/views/RadioManager;-><init>(Ljava/util/List;)V
iput-object v5, v0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->radioManagerExplicit:Lcom/discord/views/RadioManager;
sget-object v5, Lf/a/b/g;->a:Lf/a/b/g;
const-wide v6, 0x53d1eac657L
invoke-virtual {v5, v6, v7, v4}, Lf/a/b/g;->a(JLjava/lang/String;)Ljava/lang/String;
move-result-object v5
const v8, 0x7f120559
new-array v9, v3, [Ljava/lang/Object;
aput-object v5, v9, v1
invoke-virtual {v0, v8, v9}, Landroidx/fragment/app/Fragment;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v11
const-string v5, "getString(\n R.str\u2026yControlsArticleUrl\n )"
invoke-static {v11, v5}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getDataPersonalization()Lcom/discord/views/CheckedSetting;
move-result-object v5
invoke-virtual/range {p1 .. p1}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object v10
const-string v8, "view.context"
invoke-static {v10, v8}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v12, 0x0
const/4 v13, 0x0
const/4 v14, 0x0
const/16 v15, 0x1c
const/16 v16, 0x0
invoke-static/range {v10 .. v16}, Lcom/discord/utilities/textprocessing/Parsers;->parseMaskedLinks$default(Landroid/content/Context;Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;Ljava/lang/Integer;ILjava/lang/Object;)Ljava/lang/CharSequence;
move-result-object v9
invoke-virtual {v5, v9, v3}, Lcom/discord/views/CheckedSetting;->h(Ljava/lang/CharSequence;Z)V
sget-object v5, Lf/a/b/g;->a:Lf/a/b/g;
const-wide v9, 0x53d3d0de1cL
invoke-virtual {v5, v9, v10, v4}, Lf/a/b/g;->a(JLjava/lang/String;)Ljava/lang/String;
move-result-object v5
const v9, 0x7f120554
new-array v10, v3, [Ljava/lang/Object;
aput-object v5, v10, v1
invoke-virtual {v0, v9, v10}, Landroidx/fragment/app/Fragment;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v12
const-string v5, "getString(\n R.str\u2026yTrackingArticleUrl\n )"
invoke-static {v12, v5}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getDataAllowScreenreaderDetection()Lcom/discord/views/CheckedSetting;
move-result-object v5
invoke-virtual/range {p1 .. p1}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object v11
invoke-static {v11, v8}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v13, 0x0
const/4 v14, 0x0
const/4 v15, 0x0
const/16 v16, 0x1c
const/16 v17, 0x0
invoke-static/range {v11 .. v17}, Lcom/discord/utilities/textprocessing/Parsers;->parseMaskedLinks$default(Landroid/content/Context;Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;Ljava/lang/Integer;ILjava/lang/Object;)Ljava/lang/CharSequence;
move-result-object v9
invoke-virtual {v5, v9, v3}, Lcom/discord/views/CheckedSetting;->h(Ljava/lang/CharSequence;Z)V
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getDataAllowScreenreaderDetection()Lcom/discord/views/CheckedSetting;
move-result-object v5
new-instance v9, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$onViewBound$$inlined$apply$lambda$1;
invoke-direct {v9, v5, v0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$onViewBound$$inlined$apply$lambda$1;-><init>(Lcom/discord/views/CheckedSetting;Lcom/discord/widgets/settings/WidgetSettingsPrivacy;)V
invoke-virtual {v5, v9}, Lcom/discord/views/CheckedSetting;->setOnCheckedListener(Lrx/functions/Action1;)V
sget-object v5, Lf/a/b/g;->a:Lf/a/b/g;
const-wide v9, 0x53d1ea1c57L
invoke-virtual {v5, v9, v10, v4}, Lf/a/b/g;->a(JLjava/lang/String;)Ljava/lang/String;
move-result-object v5
const v9, 0x7f120556
invoke-virtual {v0, v9}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
move-result-object v9
const-string v10, "getString(R.string.data_\u2026trols_basic_service_note)"
invoke-static {v9, v10}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v10, Ljava/lang/StringBuilder;
invoke-direct {v10}, Ljava/lang/StringBuilder;-><init>()V
const/16 v11, 0x28
invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v10, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 v5, 0x29
invoke-virtual {v10, v5}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v10
const/4 v11, 0x4
const-string v12, "(onClick)"
invoke-static {v9, v12, v10, v1, v11}, Lk0/t/k;->replace$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZI)Ljava/lang/String;
move-result-object v14
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getDataBasicService()Lcom/discord/views/CheckedSetting;
move-result-object v9
const v10, 0x7f0a08c0
invoke-virtual {v9, v10}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;
move-result-object v9
if-eqz v9, :cond_0
const/16 v10, 0x8
invoke-virtual {v9, v10}, Landroid/view/View;->setVisibility(I)V
:cond_0
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getDataBasicService()Lcom/discord/views/CheckedSetting;
move-result-object v9
invoke-virtual/range {p1 .. p1}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object v13
invoke-static {v13, v8}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v15, 0x0
const/16 v16, 0x0
const/16 v17, 0x0
const/16 v18, 0x1c
const/16 v19, 0x0
invoke-static/range {v13 .. v19}, Lcom/discord/utilities/textprocessing/Parsers;->parseMaskedLinks$default(Landroid/content/Context;Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;Ljava/lang/Integer;ILjava/lang/Object;)Ljava/lang/CharSequence;
move-result-object v10
invoke-virtual {v9, v10, v3}, Lcom/discord/views/CheckedSetting;->h(Ljava/lang/CharSequence;Z)V
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getDataBasicService()Lcom/discord/views/CheckedSetting;
move-result-object v9
sget-object v10, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$onViewBound$2;->INSTANCE:Lcom/discord/widgets/settings/WidgetSettingsPrivacy$onViewBound$2;
invoke-virtual {v9, v10}, Lcom/discord/views/CheckedSetting;->e(Landroid/view/View$OnClickListener;)V
sget-object v9, Lf/a/b/g;->a:Lf/a/b/g;
const-wide v10, 0x53d1e9852cL
invoke-virtual {v9, v10, v11, v4}, Lf/a/b/g;->a(JLjava/lang/String;)Ljava/lang/String;
move-result-object v9
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getDataRequestLink()Landroid/widget/TextView;
move-result-object v10
invoke-virtual/range {p1 .. p1}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object v11
invoke-static {v11, v8}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v12, Ljava/lang/StringBuilder;
invoke-direct {v12}, Ljava/lang/StringBuilder;-><init>()V
const/16 v13, 0x5b
invoke-virtual {v12, v13}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
const v13, 0x7f12104f
invoke-virtual {v0, v13}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
move-result-object v13
invoke-virtual {v12, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v13, "]("
invoke-virtual {v12, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v12, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v12, v5}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v12}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v12
const/4 v13, 0x0
const/4 v14, 0x0
const/4 v15, 0x0
const/16 v16, 0x1c
const/16 v17, 0x0
invoke-static/range {v11 .. v17}, Lcom/discord/utilities/textprocessing/Parsers;->parseMaskedLinks$default(Landroid/content/Context;Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;Ljava/lang/Integer;ILjava/lang/Object;)Ljava/lang/CharSequence;
move-result-object v5
invoke-virtual {v10, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getDataRequestLink()Landroid/widget/TextView;
move-result-object v5
new-instance v10, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$onViewBound$3;
invoke-direct {v10, v9}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$onViewBound$3;-><init>(Ljava/lang/String;)V
invoke-virtual {v5, v10}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
const v5, 0x7f120567
new-array v9, v3, [Ljava/lang/Object;
sget-object v10, Lf/a/b/g;->a:Lf/a/b/g;
invoke-virtual {v10, v6, v7, v4}, Lf/a/b/g;->a(JLjava/lang/String;)Ljava/lang/String;
move-result-object v4
aput-object v4, v9, v1
invoke-virtual {v0, v5, v9}, Landroidx/fragment/app/Fragment;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v11
const-string v1, "getString(\n R.str\u2026A_PRIVACY_CONTROLS)\n )"
invoke-static {v11, v1}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->getDataStatistics()Lcom/discord/views/CheckedSetting;
move-result-object v1
invoke-virtual/range {p1 .. p1}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object v10
invoke-static {v10, v8}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v12, 0x0
const/4 v13, 0x0
const/4 v14, 0x0
const/16 v15, 0x1c
const/16 v16, 0x0
invoke-static/range {v10 .. v16}, Lcom/discord/utilities/textprocessing/Parsers;->parseMaskedLinks$default(Landroid/content/Context;Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;Ljava/lang/Integer;ILjava/lang/Object;)Ljava/lang/CharSequence;
move-result-object v2
invoke-virtual {v1, v2, v3}, Lcom/discord/views/CheckedSetting;->h(Ljava/lang/CharSequence;Z)V
return-void
.end method
.method public onViewBoundOrOnResume()V
.locals 13
invoke-super {p0}, Lcom/discord/app/AppFragment;->onViewBoundOrOnResume()V
sget-object v0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model;->Companion:Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model$Companion;
invoke-virtual {v0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$Model$Companion;->get()Lrx/Observable;
move-result-object v0
const/4 v1, 0x0
const/4 v2, 0x2
invoke-static {v0, p0, v1, v2, v1}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui$default(Lrx/Observable;Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;ILjava/lang/Object;)Lrx/Observable;
move-result-object v3
const-class v4, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;
new-instance v9, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$onViewBoundOrOnResume$1;
invoke-direct {v9, p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$onViewBoundOrOnResume$1;-><init>(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;)V
const/4 v5, 0x0
const/4 v6, 0x0
const/4 v7, 0x0
const/4 v8, 0x0
const/16 v10, 0x1e
const/4 v11, 0x0
invoke-static/range {v3 .. v11}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;->userSettings:Lcom/discord/stores/StoreUserSettings;
invoke-virtual {v0}, Lcom/discord/stores/StoreUserSettings;->observeAllowAccessibilityDetection()Lrx/Observable;
move-result-object v0
const-string v3, "userSettings\n .ob\u2026wAccessibilityDetection()"
invoke-static {v0, v3}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v0, p0, v1, v2, v1}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui$default(Lrx/Observable;Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;ILjava/lang/Object;)Lrx/Observable;
move-result-object v4
const-class v5, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;
new-instance v10, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$onViewBoundOrOnResume$2;
invoke-direct {v10, p0}, Lcom/discord/widgets/settings/WidgetSettingsPrivacy$onViewBoundOrOnResume$2;-><init>(Lcom/discord/widgets/settings/WidgetSettingsPrivacy;)V
const/4 v9, 0x0
const/16 v11, 0x1e
const/4 v12, 0x0
invoke-static/range {v4 .. v12}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
return-void
.end method