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.
104 lines
3.0 KiB
104 lines
3.0 KiB
2 years ago
|
.class Lcom/viatech/gallery/BaseUpdateController$1;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "BaseUpdateController.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lcom/viatech/gallery/BaseUploadController$IUpload;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Lcom/viatech/gallery/BaseUpdateController;->getIUpload()Lcom/viatech/gallery/BaseUploadController$IUpload;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x0
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic this$0:Lcom/viatech/gallery/BaseUpdateController;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Lcom/viatech/gallery/BaseUpdateController;)V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 19
|
||
|
iput-object p1, p0, Lcom/viatech/gallery/BaseUpdateController$1;->this$0:Lcom/viatech/gallery/BaseUpdateController;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public success(Lcom/viatech/gallery/BaseUploadController$UploadBean;)V
|
||
|
.locals 3
|
||
|
|
||
|
.prologue
|
||
|
.line 22
|
||
|
iget v0, p1, Lcom/viatech/gallery/BaseUploadController$UploadBean;->mType:I
|
||
|
|
||
|
const/4 v1, 0x2
|
||
|
|
||
|
if-eq v0, v1, :cond_0
|
||
|
|
||
|
iget v0, p1, Lcom/viatech/gallery/BaseUploadController$UploadBean;->mType:I
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
if-ne v0, v1, :cond_1
|
||
|
|
||
|
.line 23
|
||
|
:cond_0
|
||
|
iget-object v0, p1, Lcom/viatech/gallery/BaseUploadController$UploadBean;->mFileInfo:Lcom/viatech/gallery/FileInfo;
|
||
|
|
||
|
iget-object v1, p1, Lcom/viatech/gallery/BaseUploadController$UploadBean;->mUploadUrl:Ljava/lang/String;
|
||
|
|
||
|
iput-object v1, v0, Lcom/viatech/gallery/FileInfo;->shareUrl:Ljava/lang/String;
|
||
|
|
||
|
.line 24
|
||
|
iget-object v0, p1, Lcom/viatech/gallery/BaseUploadController$UploadBean;->mFileInfo:Lcom/viatech/gallery/FileInfo;
|
||
|
|
||
|
invoke-virtual {v0}, Lcom/viatech/gallery/FileInfo;->toCloudGalleryReq()Lcom/via/vpaicloud/community/request/CloudGalleryReq;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 25
|
||
|
new-instance v1, Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
||
|
|
||
|
.line 26
|
||
|
invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
.line 27
|
||
|
invoke-static {}, Lcom/via/vpaicloud/storage/a;->a()Lcom/via/vpaicloud/storage/a;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
new-instance v2, Lcom/viatech/gallery/BaseUpdateController$1$1;
|
||
|
|
||
|
invoke-direct {v2, p0, p1}, Lcom/viatech/gallery/BaseUpdateController$1$1;-><init>(Lcom/viatech/gallery/BaseUpdateController$1;Lcom/viatech/gallery/BaseUploadController$UploadBean;)V
|
||
|
|
||
|
invoke-virtual {v0, v1, v2}, Lcom/via/vpaicloud/storage/a;->a(Ljava/util/List;Lcom/via/vpaicloud/storage/a$a;)V
|
||
|
|
||
|
.line 42
|
||
|
:goto_0
|
||
|
return-void
|
||
|
|
||
|
.line 40
|
||
|
:cond_1
|
||
|
iget-object v0, p1, Lcom/viatech/gallery/BaseUploadController$UploadBean;->mFileInfo:Lcom/viatech/gallery/FileInfo;
|
||
|
|
||
|
iget-object v1, p1, Lcom/viatech/gallery/BaseUploadController$UploadBean;->mUploadUrl:Ljava/lang/String;
|
||
|
|
||
|
iput-object v1, v0, Lcom/viatech/gallery/FileInfo;->thumbnailUrl:Ljava/lang/String;
|
||
|
|
||
|
goto :goto_0
|
||
|
.end method
|