125 lines
4.4 KiB
Smali
125 lines
4.4 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 7
|
|
|
|
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, 0x7f1203df
|
|
|
|
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}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
:goto_1
|
|
iget-object v1, p0, Lcom/discord/widgets/settings/WidgetChangeLog$configureMedia$2;->this$0:Lcom/discord/widgets/settings/WidgetChangeLog;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x2
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const-string v2, "change_log_video_interacted"
|
|
|
|
invoke-static/range {v1 .. v6}, Lcom/discord/widgets/settings/WidgetChangeLog;->track$default(Lcom/discord/widgets/settings/WidgetChangeLog;Ljava/lang/String;Ljava/util/Map;ZILjava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|