78 lines
2.4 KiB
Smali
78 lines
2.4 KiB
Smali
.class public final Lcom/discord/widgets/settings/WidgetChangeLogSpecial$configureMedia$3;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetChangeLogSpecial.kt"
|
|
|
|
# interfaces
|
|
.implements Landroid/media/MediaPlayer$OnPreparedListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/settings/WidgetChangeLogSpecial;->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/WidgetChangeLogSpecial;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/widgets/settings/WidgetChangeLogSpecial;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/settings/WidgetChangeLogSpecial$configureMedia$3;->this$0:Lcom/discord/widgets/settings/WidgetChangeLogSpecial;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onPrepared(Landroid/media/MediaPlayer;)V
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {p1}, Landroid/media/MediaPlayer;->start()V
|
|
|
|
invoke-virtual {p1}, Landroid/media/MediaPlayer;->pause()V
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/settings/WidgetChangeLogSpecial$configureMedia$3;->this$0:Lcom/discord/widgets/settings/WidgetChangeLogSpecial;
|
|
|
|
invoke-static {p1}, Lcom/discord/widgets/settings/WidgetChangeLogSpecial;->access$getVideoVw$p(Lcom/discord/widgets/settings/WidgetChangeLogSpecial;)Landroid/widget/VideoView;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Landroid/widget/VideoView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 v0, -0x2
|
|
|
|
iput v0, p1, Landroid/view/ViewGroup$LayoutParams;->height:I
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/settings/WidgetChangeLogSpecial$configureMedia$3;->this$0:Lcom/discord/widgets/settings/WidgetChangeLogSpecial;
|
|
|
|
invoke-static {p1}, Lcom/discord/widgets/settings/WidgetChangeLogSpecial;->access$getVideoVw$p(Lcom/discord/widgets/settings/WidgetChangeLogSpecial;)Landroid/widget/VideoView;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Landroid/widget/VideoView;->requestLayout()V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "mp"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|