117 lines
4.2 KiB
Smali
117 lines
4.2 KiB
Smali
.class public final Lcom/discord/widgets/settings/WidgetChangeLog$configureMedia$2;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetChangeLog.kt"
|
|
|
|
# interfaces
|
|
.implements Landroid/view/View$OnClickListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/settings/WidgetChangeLog;->configureMedia(Ljava/lang/String;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic this$0:Lcom/discord/widgets/settings/WidgetChangeLog;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/widgets/settings/WidgetChangeLog;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/settings/WidgetChangeLog$configureMedia$2;->this$0:Lcom/discord/widgets/settings/WidgetChangeLog;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onClick(Landroid/view/View;)V
|
|
.locals 1
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/settings/WidgetChangeLog$configureMedia$2;->this$0:Lcom/discord/widgets/settings/WidgetChangeLog;
|
|
|
|
invoke-static {p1}, Lcom/discord/widgets/settings/WidgetChangeLog;->access$getVideoVw$p(Lcom/discord/widgets/settings/WidgetChangeLog;)Landroid/widget/VideoView;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Landroid/widget/VideoView;->isPlaying()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/settings/WidgetChangeLog$configureMedia$2;->this$0:Lcom/discord/widgets/settings/WidgetChangeLog;
|
|
|
|
invoke-static {p1}, Lcom/discord/widgets/settings/WidgetChangeLog;->access$showVideoOverlay(Lcom/discord/widgets/settings/WidgetChangeLog;)V
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/settings/WidgetChangeLog$configureMedia$2;->this$0:Lcom/discord/widgets/settings/WidgetChangeLog;
|
|
|
|
invoke-static {p1}, Lcom/discord/widgets/settings/WidgetChangeLog;->access$getVideoVw$p(Lcom/discord/widgets/settings/WidgetChangeLog;)Landroid/widget/VideoView;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Landroid/widget/VideoView;->pause()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object p1, p0, Lcom/discord/widgets/settings/WidgetChangeLog$configureMedia$2;->this$0:Lcom/discord/widgets/settings/WidgetChangeLog;
|
|
|
|
invoke-static {p1}, Lcom/discord/widgets/settings/WidgetChangeLog;->access$hideVideoOverlay(Lcom/discord/widgets/settings/WidgetChangeLog;)V
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/settings/WidgetChangeLog$configureMedia$2;->this$0:Lcom/discord/widgets/settings/WidgetChangeLog;
|
|
|
|
invoke-static {p1}, Lcom/discord/widgets/settings/WidgetChangeLog;->access$getVideoVw$p(Lcom/discord/widgets/settings/WidgetChangeLog;)Landroid/widget/VideoView;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Landroid/widget/VideoView;->start()V
|
|
|
|
:goto_0
|
|
iget-object p1, p0, Lcom/discord/widgets/settings/WidgetChangeLog$configureMedia$2;->this$0:Lcom/discord/widgets/settings/WidgetChangeLog;
|
|
|
|
invoke-static {p1}, Lcom/discord/widgets/settings/WidgetChangeLog;->access$getMostRecentIntent$p(Lcom/discord/widgets/settings/WidgetChangeLog;)Landroid/content/Intent;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "INTENT_EXTRA_VERSION"
|
|
|
|
invoke-virtual {p1, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
iget-object p1, p0, Lcom/discord/widgets/settings/WidgetChangeLog$configureMedia$2;->this$0:Lcom/discord/widgets/settings/WidgetChangeLog;
|
|
|
|
const v0, 0x7f1203bc
|
|
|
|
invoke-virtual {p1, v0}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "getString(R.string.change_log_md_date)"
|
|
|
|
invoke-static {p1, v0}, Li0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
:goto_1
|
|
iget-object p1, p0, Lcom/discord/widgets/settings/WidgetChangeLog$configureMedia$2;->this$0:Lcom/discord/widgets/settings/WidgetChangeLog;
|
|
|
|
const-string v0, "change_log_video_interacted"
|
|
|
|
invoke-static {p1, v0}, Lcom/discord/widgets/settings/WidgetChangeLog;->access$track(Lcom/discord/widgets/settings/WidgetChangeLog;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|