apkfuckery/com.discord/smali_classes2/x.smali

87 lines
2.1 KiB
Smali
Raw Normal View History

2020-07-23 01:06:17 +00:00
.class public final Lx;
2020-07-14 22:43:59 +00:00
.super Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
.source "WidgetGuildCallOnboardingSheet.kt"
2020-07-14 22:43:59 +00:00
# interfaces
.implements Lrx/functions/Action0;
2020-07-08 16:44:49 +00:00
# instance fields
2020-07-23 01:06:17 +00:00
.field public final synthetic d:Ly;
2020-07-08 16:44:49 +00:00
# direct methods
2020-07-23 01:06:17 +00:00
.method public constructor <init>(Ly;)V
2020-07-14 22:43:59 +00:00
.locals 0
2020-07-08 16:44:49 +00:00
2020-07-23 01:06:17 +00:00
iput-object p1, p0, Lx;->d:Ly;
2020-07-08 16:44:49 +00:00
2020-07-14 22:43:59 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-07-08 16:44:49 +00:00
return-void
.end method
2020-07-14 22:43:59 +00:00
# virtual methods
.method public final call()V
2020-07-08 16:44:49 +00:00
.locals 4
2020-07-23 01:06:17 +00:00
sget-object v0, Lw;->g:Lw$a;
2020-07-08 16:44:49 +00:00
2020-07-23 01:06:17 +00:00
iget-object v1, p0, Lx;->d:Ly;
2020-07-08 16:44:49 +00:00
2020-07-23 01:06:17 +00:00
iget-object v1, v1, Ly;->this$0:Lw;
2020-07-08 16:44:49 +00:00
2020-07-14 22:43:59 +00:00
invoke-virtual {v1}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
2020-07-08 16:44:49 +00:00
move-result-object v1
2020-07-14 22:43:59 +00:00
const-string v2, "requireContext()"
2020-07-08 16:44:49 +00:00
2020-07-25 00:57:58 +00:00
invoke-static {v1, v2}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
2020-07-14 22:43:59 +00:00
const/4 v2, 0x0
2020-07-08 16:44:49 +00:00
if-eqz v0, :cond_1
2020-07-14 22:43:59 +00:00
invoke-static {v1}, Landroidx/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences;
2020-07-08 16:44:49 +00:00
move-result-object v0
2020-07-14 22:43:59 +00:00
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
2020-07-08 16:44:49 +00:00
move-result-object v0
2020-07-14 22:43:59 +00:00
const/4 v1, 0x1
2020-07-08 16:44:49 +00:00
2020-07-14 22:43:59 +00:00
const-string v3, "CACHE_KEY_VOICE_CHANNEL_ONBOARDED"
2020-07-08 16:44:49 +00:00
2020-07-14 22:43:59 +00:00
invoke-interface {v0, v3, v1}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;
2020-07-08 16:44:49 +00:00
move-result-object v0
2020-07-14 22:43:59 +00:00
invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->apply()V
2020-07-08 16:44:49 +00:00
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lx;->d:Ly;
2020-07-08 16:44:49 +00:00
2020-07-23 01:06:17 +00:00
iget-object v0, v0, Ly;->this$0:Lw;
2020-07-08 16:44:49 +00:00
2020-07-23 01:06:17 +00:00
iget-object v0, v0, Lw;->e:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallOnboardingSheetViewModel;
2020-07-08 16:44:49 +00:00
if-eqz v0, :cond_0
2020-07-14 22:43:59 +00:00
invoke-virtual {v0}, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallOnboardingSheetViewModel;->onConnectPressed()V
2020-07-08 16:44:49 +00:00
return-void
:cond_0
2020-08-10 21:02:22 +00:00
const-string v0, "viewModel"
2020-07-08 16:44:49 +00:00
2020-07-25 00:57:58 +00:00
invoke-static {v0}, Lj0/n/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
2020-07-14 22:43:59 +00:00
throw v2
2020-07-08 16:44:49 +00:00
2020-07-14 22:43:59 +00:00
:cond_1
throw v2
2020-07-08 16:44:49 +00:00
.end method