You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
628 lines
20 KiB
628 lines
20 KiB
.class Lcom/viatech/gallery/SendVideoActivity$10; |
|
.super Ljava/lang/Thread; |
|
.source "SendVideoActivity.java" |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingMethod; |
|
value = Lcom/viatech/gallery/SendVideoActivity;->doClipVideo()V |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x0 |
|
name = null |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/viatech/gallery/SendVideoActivity;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 569 |
|
iput-object p1, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-direct {p0}, Ljava/lang/Thread;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public run()V |
|
.locals 11 |
|
|
|
.prologue |
|
const/4 v10, -0x1 |
|
|
|
const/4 v1, 0x1 |
|
|
|
const/4 v2, 0x0 |
|
|
|
.line 572 |
|
iget-object v0, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/SendVideoActivity;->access$1100(Lcom/viatech/gallery/SendVideoActivity;)Landroid/net/Uri; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Landroid/net/Uri;->getScheme()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
const-string v3, "file" |
|
|
|
invoke-virtual {v0, v3}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I |
|
|
|
move-result v0 |
|
|
|
if-nez v0, :cond_7 |
|
|
|
.line 573 |
|
iget-object v0, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/SendVideoActivity;->access$1200(Lcom/viatech/gallery/SendVideoActivity;)Landroid/os/Handler; |
|
|
|
move-result-object v0 |
|
|
|
new-instance v3, Lcom/viatech/gallery/SendVideoActivity$10$1; |
|
|
|
invoke-direct {v3, p0}, Lcom/viatech/gallery/SendVideoActivity$10$1;-><init>(Lcom/viatech/gallery/SendVideoActivity$10;)V |
|
|
|
invoke-virtual {v0, v3}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z |
|
|
|
.line 582 |
|
iget-object v0, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v0, v1}, Lcom/viatech/gallery/SendVideoActivity;->access$202(Lcom/viatech/gallery/SendVideoActivity;Z)Z |
|
|
|
.line 583 |
|
iget-object v0, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/SendVideoActivity;->access$1100(Lcom/viatech/gallery/SendVideoActivity;)Landroid/net/Uri; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Landroid/net/Uri;->toString()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
const-string v3, "file://" |
|
|
|
const-string v4, "" |
|
|
|
invoke-virtual {v0, v3, v4}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
.line 584 |
|
const-string v3, "Vpai_SendVideoActivity" |
|
|
|
new-instance v4, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
const-string v5, "inFileName = " |
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v4 |
|
|
|
invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v4 |
|
|
|
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v4 |
|
|
|
invoke-static {v3, v4}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I |
|
|
|
.line 585 |
|
iget-object v3, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
new-instance v4, Lcom/via/vpailib/vpaiinterface/MediaProcessApi; |
|
|
|
invoke-direct {v4, v1}, Lcom/via/vpailib/vpaiinterface/MediaProcessApi;-><init>(I)V |
|
|
|
invoke-static {v3, v4}, Lcom/viatech/gallery/SendVideoActivity;->access$502(Lcom/viatech/gallery/SendVideoActivity;Lcom/via/vpailib/vpaiinterface/MediaProcessApi;)Lcom/via/vpailib/vpaiinterface/MediaProcessApi; |
|
|
|
.line 586 |
|
iget-object v3, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v3}, Lcom/viatech/gallery/SendVideoActivity;->access$500(Lcom/viatech/gallery/SendVideoActivity;)Lcom/via/vpailib/vpaiinterface/MediaProcessApi; |
|
|
|
move-result-object v3 |
|
|
|
invoke-virtual {v3, v0}, Lcom/via/vpailib/vpaiinterface/MediaProcessApi;->setInputFile(Ljava/lang/String;)I |
|
|
|
.line 587 |
|
iget-object v0, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/SendVideoActivity;->access$500(Lcom/viatech/gallery/SendVideoActivity;)Lcom/via/vpailib/vpaiinterface/MediaProcessApi; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v3, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v3}, Lcom/viatech/gallery/SendVideoActivity;->access$1300(Lcom/viatech/gallery/SendVideoActivity;)J |
|
|
|
move-result-wide v4 |
|
|
|
long-to-int v3, v4 |
|
|
|
iget-object v4, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v4}, Lcom/viatech/gallery/SendVideoActivity;->access$1400(Lcom/viatech/gallery/SendVideoActivity;)J |
|
|
|
move-result-wide v4 |
|
|
|
long-to-int v4, v4 |
|
|
|
invoke-virtual {v0, v3, v4}, Lcom/via/vpailib/vpaiinterface/MediaProcessApi;->setOutClip(II)I |
|
|
|
.line 588 |
|
iget-object v0, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/SendVideoActivity;->access$500(Lcom/viatech/gallery/SendVideoActivity;)Lcom/via/vpailib/vpaiinterface/MediaProcessApi; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v3, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-virtual {v0, v3}, Lcom/via/vpailib/vpaiinterface/MediaProcessApi;->setMediaProcessApiListener(Lcom/via/vpailib/vpaiinterface/MediaProcessApi$MediaProcessApiListener;)V |
|
|
|
.line 590 |
|
iget-object v0, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/SendVideoActivity;->access$500(Lcom/viatech/gallery/SendVideoActivity;)Lcom/via/vpailib/vpaiinterface/MediaProcessApi; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v3, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v3}, Lcom/viatech/gallery/SendVideoActivity;->access$1500(Lcom/viatech/gallery/SendVideoActivity;)Z |
|
|
|
move-result v3 |
|
|
|
iget-object v4, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v4}, Lcom/viatech/gallery/SendVideoActivity;->access$1600(Lcom/viatech/gallery/SendVideoActivity;)Ljava/lang/String; |
|
|
|
move-result-object v4 |
|
|
|
iget-object v5, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v5}, Lcom/viatech/gallery/SendVideoActivity;->access$1700(Lcom/viatech/gallery/SendVideoActivity;)J |
|
|
|
move-result-wide v6 |
|
|
|
long-to-int v5, v6 |
|
|
|
iget-object v6, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v6}, Lcom/viatech/gallery/SendVideoActivity;->access$1800(Lcom/viatech/gallery/SendVideoActivity;)J |
|
|
|
move-result-wide v6 |
|
|
|
long-to-int v6, v6 |
|
|
|
invoke-virtual {v0, v3, v4, v5, v6}, Lcom/via/vpailib/vpaiinterface/MediaProcessApi;->setOutAudio(ZLjava/lang/String;II)I |
|
|
|
.line 591 |
|
new-instance v0, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
sget-object v3, Lcom/viatech/Config;->g:Ljava/lang/String; |
|
|
|
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
const-string v3, "/E" |
|
|
|
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
const-string v3, "yyyy_MM_dd_HH_mm_ss" |
|
|
|
new-instance v4, Ljava/util/Date; |
|
|
|
invoke-direct {v4}, Ljava/util/Date;-><init>()V |
|
|
|
.line 592 |
|
invoke-static {v3, v4}, Landroid/text/format/DateFormat;->format(Ljava/lang/CharSequence;Ljava/util/Date;)Ljava/lang/CharSequence; |
|
|
|
move-result-object v3 |
|
|
|
invoke-interface {v3}, Ljava/lang/CharSequence;->toString()Ljava/lang/String; |
|
|
|
move-result-object v3 |
|
|
|
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
.line 593 |
|
invoke-static {}, Lcom/viatech/Config;->a()Lcom/viatech/Config; |
|
|
|
move-result-object v3 |
|
|
|
iget-object v4, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v4}, Lcom/viatech/gallery/SendVideoActivity;->access$1900(Lcom/viatech/gallery/SendVideoActivity;)Lcom/viatech/gallery/FileInfo; |
|
|
|
move-result-object v4 |
|
|
|
iget-object v4, v4, Lcom/viatech/gallery/FileInfo;->name:Ljava/lang/String; |
|
|
|
invoke-virtual {v3, v4}, Lcom/viatech/Config;->a(Ljava/lang/String;)Z |
|
|
|
move-result v3 |
|
|
|
if-eqz v3, :cond_0 |
|
|
|
.line 594 |
|
new-instance v3, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
const-string v3, "_V3D" |
|
|
|
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
.line 596 |
|
:cond_0 |
|
invoke-static {v0}, Lcom/viatech/gallery/FileScanner;->newRandNameRoot(Ljava/lang/String;)Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
.line 597 |
|
new-instance v3, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v3 |
|
|
|
const-string v4, ".mp4" |
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v3 |
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v3 |
|
|
|
.line 598 |
|
new-instance v4, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
const-string v4, "_thumb.jpg" |
|
|
|
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v4 |
|
|
|
.line 599 |
|
new-instance v5, Ljava/io/File; |
|
|
|
invoke-direct {v5, v3}, Ljava/io/File;-><init>(Ljava/lang/String;)V |
|
|
|
.line 600 |
|
invoke-virtual {v5}, Ljava/io/File;->getParentFile()Ljava/io/File; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Ljava/io/File;->exists()Z |
|
|
|
move-result v0 |
|
|
|
if-nez v0, :cond_1 |
|
|
|
.line 601 |
|
invoke-virtual {v5}, Ljava/io/File;->getParentFile()Ljava/io/File; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Ljava/io/File;->mkdirs()Z |
|
|
|
.line 603 |
|
:cond_1 |
|
const-string v0, "Vpai_SendVideoActivity" |
|
|
|
new-instance v6, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
const-string v7, "outFilename = " |
|
|
|
invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v6 |
|
|
|
invoke-virtual {v6, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v6 |
|
|
|
const-string v7, ", thumbFilename is " |
|
|
|
invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v6 |
|
|
|
invoke-virtual {v6, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v6 |
|
|
|
invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v6 |
|
|
|
invoke-static {v0, v6}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I |
|
|
|
.line 604 |
|
iget-object v0, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/SendVideoActivity;->access$500(Lcom/viatech/gallery/SendVideoActivity;)Lcom/via/vpailib/vpaiinterface/MediaProcessApi; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v3}, Lcom/via/vpailib/vpaiinterface/MediaProcessApi;->setOutFile(Ljava/lang/String;)I |
|
|
|
.line 605 |
|
iget-object v0, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/SendVideoActivity;->access$500(Lcom/viatech/gallery/SendVideoActivity;)Lcom/via/vpailib/vpaiinterface/MediaProcessApi; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Lcom/via/vpailib/vpaiinterface/MediaProcessApi;->start()I |
|
|
|
move-result v6 |
|
|
|
.line 606 |
|
iget-object v0, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/SendVideoActivity;->access$500(Lcom/viatech/gallery/SendVideoActivity;)Lcom/via/vpailib/vpaiinterface/MediaProcessApi; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Lcom/via/vpailib/vpaiinterface/MediaProcessApi;->destroy()V |
|
|
|
.line 607 |
|
iget-object v0, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
const/4 v7, 0x0 |
|
|
|
invoke-static {v0, v7}, Lcom/viatech/gallery/SendVideoActivity;->access$502(Lcom/viatech/gallery/SendVideoActivity;Lcom/via/vpailib/vpaiinterface/MediaProcessApi;)Lcom/via/vpailib/vpaiinterface/MediaProcessApi; |
|
|
|
.line 610 |
|
new-instance v0, Ljava/io/File; |
|
|
|
invoke-direct {v0, v4}, Ljava/io/File;-><init>(Ljava/lang/String;)V |
|
|
|
.line 611 |
|
invoke-virtual {v0}, Ljava/io/File;->exists()Z |
|
|
|
move-result v7 |
|
|
|
if-eqz v7, :cond_2 |
|
|
|
.line 612 |
|
invoke-virtual {v0}, Ljava/io/File;->delete()Z |
|
|
|
.line 613 |
|
:cond_2 |
|
if-eq v6, v10, :cond_3 |
|
|
|
iget-object v7, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v7}, Lcom/viatech/gallery/SendVideoActivity;->access$200(Lcom/viatech/gallery/SendVideoActivity;)Z |
|
|
|
move-result v7 |
|
|
|
if-eqz v7, :cond_3 |
|
|
|
iget-object v7, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v7}, Lcom/viatech/gallery/SendVideoActivity;->access$2000(Lcom/viatech/gallery/SendVideoActivity;)Landroid/graphics/Bitmap; |
|
|
|
move-result-object v7 |
|
|
|
if-eqz v7, :cond_3 |
|
|
|
.line 615 |
|
:try_start_0 |
|
new-instance v7, Ljava/io/FileOutputStream; |
|
|
|
invoke-direct {v7, v0}, Ljava/io/FileOutputStream;-><init>(Ljava/io/File;)V |
|
|
|
.line 616 |
|
iget-object v0, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/SendVideoActivity;->access$2000(Lcom/viatech/gallery/SendVideoActivity;)Landroid/graphics/Bitmap; |
|
|
|
move-result-object v0 |
|
|
|
sget-object v8, Landroid/graphics/Bitmap$CompressFormat;->JPEG:Landroid/graphics/Bitmap$CompressFormat; |
|
|
|
const/16 v9, 0x50 |
|
|
|
invoke-virtual {v0, v8, v9, v7}, Landroid/graphics/Bitmap;->compress(Landroid/graphics/Bitmap$CompressFormat;ILjava/io/OutputStream;)Z |
|
|
|
.line 617 |
|
invoke-virtual {v7}, Ljava/io/FileOutputStream;->flush()V |
|
|
|
.line 618 |
|
invoke-virtual {v7}, Ljava/io/FileOutputStream;->close()V |
|
:try_end_0 |
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 |
|
|
|
move v0, v1 |
|
|
|
.line 626 |
|
:goto_0 |
|
if-eq v6, v10, :cond_4 |
|
|
|
iget-object v6, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v6}, Lcom/viatech/gallery/SendVideoActivity;->access$200(Lcom/viatech/gallery/SendVideoActivity;)Z |
|
|
|
move-result v6 |
|
|
|
if-eqz v6, :cond_4 |
|
|
|
if-eqz v0, :cond_4 |
|
|
|
.line 628 |
|
iget-object v0, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v0, v1}, Lcom/viatech/gallery/SendVideoActivity;->access$2102(Lcom/viatech/gallery/SendVideoActivity;Z)Z |
|
|
|
.line 629 |
|
iget-object v0, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/SendVideoActivity;->access$800(Lcom/viatech/gallery/SendVideoActivity;)Landroid/widget/EditText; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
.line 630 |
|
iget-object v1, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v1, v3}, Lcom/viatech/gallery/SendVideoActivity;->access$2202(Lcom/viatech/gallery/SendVideoActivity;Ljava/lang/String;)Ljava/lang/String; |
|
|
|
.line 631 |
|
iget-object v1, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v1, v4}, Lcom/viatech/gallery/SendVideoActivity;->access$2302(Lcom/viatech/gallery/SendVideoActivity;Ljava/lang/String;)Ljava/lang/String; |
|
|
|
.line 632 |
|
iget-object v1, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v1, v3, v4, v0}, Lcom/viatech/gallery/SendVideoActivity;->access$2400(Lcom/viatech/gallery/SendVideoActivity;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V |
|
|
|
.line 633 |
|
iget-object v0, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v0, v2}, Lcom/viatech/gallery/SendVideoActivity;->access$202(Lcom/viatech/gallery/SendVideoActivity;Z)Z |
|
|
|
.line 655 |
|
:goto_1 |
|
return-void |
|
|
|
.line 620 |
|
:catch_0 |
|
move-exception v0 |
|
|
|
.line 621 |
|
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V |
|
|
|
:cond_3 |
|
move v0, v2 |
|
|
|
goto :goto_0 |
|
|
|
.line 635 |
|
:cond_4 |
|
invoke-virtual {v5}, Ljava/io/File;->exists()Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_5 |
|
|
|
.line 636 |
|
iget-object v0, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v0, v2}, Lcom/viatech/gallery/SendVideoActivity;->access$2102(Lcom/viatech/gallery/SendVideoActivity;Z)Z |
|
|
|
.line 637 |
|
invoke-virtual {v5}, Ljava/io/File;->delete()Z |
|
|
|
.line 639 |
|
:cond_5 |
|
iget-object v0, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/SendVideoActivity;->access$200(Lcom/viatech/gallery/SendVideoActivity;)Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_6 |
|
|
|
.line 640 |
|
const v0, 0x7f070110 |
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V |
|
|
|
.line 642 |
|
:cond_6 |
|
iget-object v0, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v0, v2}, Lcom/viatech/gallery/SendVideoActivity;->access$202(Lcom/viatech/gallery/SendVideoActivity;Z)Z |
|
|
|
.line 643 |
|
iget-object v0, p0, Lcom/viatech/gallery/SendVideoActivity$10;->this$0:Lcom/viatech/gallery/SendVideoActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/SendVideoActivity;->access$1200(Lcom/viatech/gallery/SendVideoActivity;)Landroid/os/Handler; |
|
|
|
move-result-object v0 |
|
|
|
new-instance v1, Lcom/viatech/gallery/SendVideoActivity$10$2; |
|
|
|
invoke-direct {v1, p0}, Lcom/viatech/gallery/SendVideoActivity$10$2;-><init>(Lcom/viatech/gallery/SendVideoActivity$10;)V |
|
|
|
invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z |
|
|
|
goto :goto_1 |
|
|
|
.line 653 |
|
:cond_7 |
|
const v0, 0x7f070115 |
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V |
|
|
|
goto :goto_1 |
|
.end method
|
|
|