96 lines
2.8 KiB
Smali
96 lines
2.8 KiB
Smali
.class Lcom/tencent/connect/share/QzonePublish$1;
|
|
.super Ljava/lang/Object;
|
|
.source "ProGuard"
|
|
|
|
# interfaces
|
|
.implements Landroid/media/MediaPlayer$OnPreparedListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/tencent/connect/share/QzonePublish;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Ljava/lang/String;
|
|
|
|
.field final synthetic b:Landroid/os/Bundle;
|
|
|
|
.field final synthetic c:Landroid/app/Activity;
|
|
|
|
.field final synthetic d:Lcom/tencent/tauth/IUiListener;
|
|
|
|
.field final synthetic e:Lcom/tencent/connect/share/QzonePublish;
|
|
|
|
|
|
# virtual methods
|
|
.method public onPrepared(Landroid/media/MediaPlayer;)V
|
|
.locals 5
|
|
|
|
.line 140
|
|
new-instance v0, Ljava/io/File;
|
|
|
|
iget-object v1, p0, Lcom/tencent/connect/share/QzonePublish$1;->a:Ljava/lang/String;
|
|
|
|
invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 141
|
|
invoke-virtual {v0}, Ljava/io/File;->length()J
|
|
|
|
move-result-wide v0
|
|
|
|
.line 142
|
|
invoke-virtual {p1}, Landroid/media/MediaPlayer;->getDuration()I
|
|
|
|
move-result p1
|
|
|
|
.line 143
|
|
iget-object v2, p0, Lcom/tencent/connect/share/QzonePublish$1;->b:Landroid/os/Bundle;
|
|
|
|
const-string v3, "videoPath"
|
|
|
|
iget-object v4, p0, Lcom/tencent/connect/share/QzonePublish$1;->a:Ljava/lang/String;
|
|
|
|
invoke-virtual {v2, v3, v4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 144
|
|
iget-object v2, p0, Lcom/tencent/connect/share/QzonePublish$1;->b:Landroid/os/Bundle;
|
|
|
|
const-string v3, "videoDuration"
|
|
|
|
invoke-virtual {v2, v3, p1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
.line 145
|
|
iget-object p1, p0, Lcom/tencent/connect/share/QzonePublish$1;->b:Landroid/os/Bundle;
|
|
|
|
const-string v2, "videoSize"
|
|
|
|
invoke-virtual {p1, v2, v0, v1}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V
|
|
|
|
.line 147
|
|
iget-object p1, p0, Lcom/tencent/connect/share/QzonePublish$1;->e:Lcom/tencent/connect/share/QzonePublish;
|
|
|
|
iget-object v0, p0, Lcom/tencent/connect/share/QzonePublish$1;->c:Landroid/app/Activity;
|
|
|
|
iget-object v1, p0, Lcom/tencent/connect/share/QzonePublish$1;->b:Landroid/os/Bundle;
|
|
|
|
iget-object v2, p0, Lcom/tencent/connect/share/QzonePublish$1;->d:Lcom/tencent/tauth/IUiListener;
|
|
|
|
invoke-static {p1, v0, v1, v2}, Lcom/tencent/connect/share/QzonePublish;->a(Lcom/tencent/connect/share/QzonePublish;Landroid/app/Activity;Landroid/os/Bundle;Lcom/tencent/tauth/IUiListener;)V
|
|
|
|
const-string p1, "openSDK_LOG.QzonePublish"
|
|
|
|
const-string v0, "publishToQzone() --end"
|
|
|
|
.line 148
|
|
invoke-static {p1, v0}, Lcom/tencent/open/a/f;->c(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|