apkfuckery/com.discord/smali/p.smali

91 lines
2.2 KiB
Smali
Raw Normal View History

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