ChatAttachAlert$24.smali
.class Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;
.super Lim/tpelyyftgw/ui/components/ChatAttachAlert$BasePhotoProvider;
.source "ChatAttachAlert.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lim/tpelyyftgw/ui/components/ChatAttachAlert;->openPhotoViewer(Lim/tpelyyftgw/messenger/MediaController$PhotoEntry;ZZ)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
.field final synthetic val$sameTakePictureOrientation:Z
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>(Lim/tpelyyftgw/ui/components/ChatAttachAlert;Z)V
.registers 3
.param p1, "this$0" # Lim/tpelyyftgw/ui/components/ChatAttachAlert;
.line 2097
iput-object p1, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
iput-boolean p2, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->val$sameTakePictureOrientation:Z
const/4 p2, 0x0
invoke-direct {p0, p1, p2}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$BasePhotoProvider;-><init>(Lim/tpelyyftgw/ui/components/ChatAttachAlert;Lim/tpelyyftgw/ui/components/ChatAttachAlert$1;)V
return-void
.end method
# virtual methods
.method public canCaptureMorePhotos()Z
.registers 3
.line 2211
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I
move-result v0
const/4 v1, 0x1
if-eq v0, v1, :cond_a
goto :goto_b
:cond_a
const/4 v1, 0x0
:goto_b
return v1
.end method
.method public canScrollAway()Z
.registers 2
.line 2206
const/4 v0, 0x0
return v0
.end method
.method public cancelButtonPressed()Z
.registers 8
.line 2106
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$1600(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Z
move-result v0
const/4 v1, 0x0
if-eqz v0, :cond_44
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$8200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/messenger/camera/CameraView;
move-result-object v0
if-eqz v0, :cond_44
.line 2107
new-instance v0, Lim/tpelyyftgw/ui/components/-$$Lambda$ChatAttachAlert$24$DUTU9AQhuk2VEK3UTNtJDQznrt0;
invoke-direct {v0, p0}, Lim/tpelyyftgw/ui/components/-$$Lambda$ChatAttachAlert$24$DUTU9AQhuk2VEK3UTNtJDQznrt0;-><init>(Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;)V
const-wide/16 v2, 0x3e8
invoke-static {v0, v2, v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->runOnUIThread(Ljava/lang/Runnable;J)V
.line 2112
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$9000(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/ZoomControlView;
move-result-object v0
const/4 v2, 0x0
invoke-virtual {v0, v2, v1}, Lim/tpelyyftgw/ui/components/ZoomControlView;->setZoom(FZ)V
.line 2113
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0, v2}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$10202(Lim/tpelyyftgw/ui/components/ChatAttachAlert;F)F
.line 2114
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$8200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/messenger/camera/CameraView;
move-result-object v0
invoke-virtual {v0, v2}, Lim/tpelyyftgw/messenger/camera/CameraView;->setZoom(F)V
.line 2115
invoke-static {}, Lim/tpelyyftgw/messenger/camera/CameraController;->getInstance()Lim/tpelyyftgw/messenger/camera/CameraController;
move-result-object v0
iget-object v2, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v2}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$8200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/messenger/camera/CameraView;
move-result-object v2
invoke-virtual {v2}, Lim/tpelyyftgw/messenger/camera/CameraView;->getCameraSession()Lim/tpelyyftgw/messenger/camera/CameraSession;
move-result-object v2
invoke-virtual {v0, v2}, Lim/tpelyyftgw/messenger/camera/CameraController;->startPreview(Lim/tpelyyftgw/messenger/camera/CameraSession;)V
.line 2117
:cond_44
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$10300(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Z
move-result v0
const/4 v2, 0x1
if-eqz v0, :cond_d6
invoke-static {}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$10400()Ljava/util/ArrayList;
move-result-object v0
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v0
if-ne v0, v2, :cond_d6
.line 2118
const/4 v0, 0x0
.local v0, "a":I
invoke-static {}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$10400()Ljava/util/ArrayList;
move-result-object v3
invoke-virtual {v3}, Ljava/util/ArrayList;->size()I
move-result v3
.local v3, "size":I
:goto_60
if-ge v0, v3, :cond_95
.line 2119
invoke-static {}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$10400()Ljava/util/ArrayList;
move-result-object v4
invoke-virtual {v4, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object v4
check-cast v4, Lim/tpelyyftgw/messenger/MediaController$PhotoEntry;
.line 2120
.local v4, "photoEntry":Lim/tpelyyftgw/messenger/MediaController$PhotoEntry;
new-instance v5, Ljava/io/File;
iget-object v6, v4, Lim/tpelyyftgw/messenger/MediaController$PhotoEntry;->path:Ljava/lang/String;
invoke-direct {v5, v6}, Ljava/io/File;-><init>(Ljava/lang/String;)V
invoke-virtual {v5}, Ljava/io/File;->delete()Z
.line 2121
iget-object v5, v4, Lim/tpelyyftgw/messenger/MediaController$PhotoEntry;->imagePath:Ljava/lang/String;
if-eqz v5, :cond_84
.line 2122
new-instance v5, Ljava/io/File;
iget-object v6, v4, Lim/tpelyyftgw/messenger/MediaController$PhotoEntry;->imagePath:Ljava/lang/String;
invoke-direct {v5, v6}, Ljava/io/File;-><init>(Ljava/lang/String;)V
invoke-virtual {v5}, Ljava/io/File;->delete()Z
.line 2124
:cond_84
iget-object v5, v4, Lim/tpelyyftgw/messenger/MediaController$PhotoEntry;->thumbPath:Ljava/lang/String;
if-eqz v5, :cond_92
.line 2125
new-instance v5, Ljava/io/File;
iget-object v6, v4, Lim/tpelyyftgw/messenger/MediaController$PhotoEntry;->thumbPath:Ljava/lang/String;
invoke-direct {v5, v6}, Ljava/io/File;-><init>(Ljava/lang/String;)V
invoke-virtual {v5}, Ljava/io/File;->delete()Z
.line 2118
.end local v4 # "photoEntry":Lim/tpelyyftgw/messenger/MediaController$PhotoEntry;
:cond_92
add-int/lit8 v0, v0, 0x1
goto :goto_60
.line 2128
.end local v0 # "a":I
.end local v3 # "size":I
:cond_95
invoke-static {}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$10400()Ljava/util/ArrayList;
move-result-object v0
invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
.line 2129
invoke-static {}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$400()Ljava/util/ArrayList;
move-result-object v0
invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
.line 2130
invoke-static {}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$100()Ljava/util/HashMap;
move-result-object v0
invoke-virtual {v0}, Ljava/util/HashMap;->clear()V
.line 2131
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$10500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Landroid/widget/TextView;
move-result-object v0
const/4 v3, 0x4
invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V
.line 2132
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$800(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v0
const/16 v3, 0x8
invoke-virtual {v0, v3}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setVisibility(I)V
.line 2133
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;->notifyDataSetChanged()V
.line 2134
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$6200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;->notifyDataSetChanged()V
.line 2135
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->updatePhotosButton(I)V
.line 2137
:cond_d6
return v2
.end method
.method public getThumbForPhoto(Lim/tpelyyftgw/messenger/MessageObject;Lim/tpelyyftgw/tgnet/TLRPC$FileLocation;I)Lim/tpelyyftgw/messenger/ImageReceiver$BitmapHolder;
.registers 5
.param p1, "messageObject" # Lim/tpelyyftgw/messenger/MessageObject;
.param p2, "fileLocation" # Lim/tpelyyftgw/tgnet/TLRPC$FileLocation;
.param p3, "index" # I
.line 2101
const/4 v0, 0x0
return-object v0
.end method
.method public synthetic lambda$cancelButtonPressed$0$ChatAttachAlert$24()V
.registers 3
.line 2108
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$8200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/messenger/camera/CameraView;
move-result-object v0
if-eqz v0, :cond_21
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->isDismissed()Z
move-result v0
if-nez v0, :cond_21
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x15
if-lt v0, v1, :cond_21
.line 2109
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$8200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/messenger/camera/CameraView;
move-result-object v0
const/16 v1, 0x404
invoke-virtual {v0, v1}, Lim/tpelyyftgw/messenger/camera/CameraView;->setSystemUiVisibility(I)V
.line 2111
:cond_21
return-void
.end method
.method public needAddMorePhotos()V
.registers 4
.line 2142
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
const/4 v1, 0x0
invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$10302(Lim/tpelyyftgw/ui/components/ChatAttachAlert;Z)Z
.line 2143
invoke-static {}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$9200()Z
move-result v0
if-eqz v0, :cond_17
.line 2144
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$1300(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/ChatAttachAlert$ChatAttachViewDelegate;
move-result-object v0
const/4 v2, 0x1
invoke-interface {v0, v1, v2, v2, v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$ChatAttachViewDelegate;->didPressedButton(IZZI)V
.line 2145
return-void
.line 2147
:cond_17
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$1600(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Z
move-result v0
if-nez v0, :cond_24
.line 2148
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$10600(Lim/tpelyyftgw/ui/components/ChatAttachAlert;Z)V
.line 2150
:cond_24
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$10500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Landroid/widget/TextView;
move-result-object v0
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V
.line 2151
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$800(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v0
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setVisibility(I)V
.line 2152
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$10500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Landroid/widget/TextView;
move-result-object v0
const/high16 v2, 0x3f800000 # 1.0f
invoke-virtual {v0, v2}, Landroid/widget/TextView;->setAlpha(F)V
.line 2153
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$10700(Lim/tpelyyftgw/ui/components/ChatAttachAlert;Z)V
.line 2154
return-void
.end method
.method public scaleToFill()Z
.registers 5
.line 2183
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$600(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/actionbar/BaseFragment;
move-result-object v0
const/4 v1, 0x0
if-eqz v0, :cond_33
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$600(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/actionbar/BaseFragment;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/actionbar/BaseFragment;->getParentActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object v0
if-nez v0, :cond_16
goto :goto_33
.line 2186
:cond_16
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$600(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/actionbar/BaseFragment;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/actionbar/BaseFragment;->getParentActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object v0
invoke-virtual {v0}, Landroidx/fragment/app/FragmentActivity;->getContentResolver()Landroid/content/ContentResolver;
move-result-object v0
const-string v2, "accelerometer_rotation"
invoke-static {v0, v2, v1}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I
move-result v0
.line 2187
.local v0, "locked":I
iget-boolean v2, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->val$sameTakePictureOrientation:Z
const/4 v3, 0x1
if-nez v2, :cond_31
if-ne v0, v3, :cond_32
:cond_31
const/4 v1, 0x1
:cond_32
return v1
.line 2184
.end local v0 # "locked":I
:cond_33
:goto_33
return v1
.end method
.method public sendButtonPressed(ILim/tpelyyftgw/messenger/VideoEditedInfo;ZI)V
.registers 8
.param p1, "index" # I
.param p2, "videoEditedInfo" # Lim/tpelyyftgw/messenger/VideoEditedInfo;
.param p3, "notify" # Z
.param p4, "scheduleDate" # I
.line 2158
invoke-static {}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$10400()Ljava/util/ArrayList;
move-result-object v0
invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z
move-result v0
if-nez v0, :cond_a7
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$600(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/actionbar/BaseFragment;
move-result-object v0
if-nez v0, :cond_14
goto/16 :goto_a7
.line 2161
:cond_14
if-eqz p2, :cond_2e
if-ltz p1, :cond_2e
invoke-static {}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$10400()Ljava/util/ArrayList;
move-result-object v0
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v0
if-ge p1, v0, :cond_2e
.line 2162
invoke-static {}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$10400()Ljava/util/ArrayList;
move-result-object v0
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lim/tpelyyftgw/messenger/MediaController$PhotoEntry;
.line 2163
.local v0, "photoEntry":Lim/tpelyyftgw/messenger/MediaController$PhotoEntry;
iput-object p2, v0, Lim/tpelyyftgw/messenger/MediaController$PhotoEntry;->editedInfo:Lim/tpelyyftgw/messenger/VideoEditedInfo;
.line 2165
.end local v0 # "photoEntry":Lim/tpelyyftgw/messenger/MediaController$PhotoEntry;
:cond_2e
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$600(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/actionbar/BaseFragment;
move-result-object v0
instance-of v0, v0, Lim/tpelyyftgw/ui/ChatActivity;
if-eqz v0, :cond_46
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$600(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/actionbar/BaseFragment;
move-result-object v0
check-cast v0, Lim/tpelyyftgw/ui/ChatActivity;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/ChatActivity;->isSecretChat()Z
move-result v0
if-nez v0, :cond_63
.line 2166
:cond_46
const/4 v0, 0x0
.local v0, "a":I
invoke-static {}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$10400()Ljava/util/ArrayList;
move-result-object v1
invoke-virtual {v1}, Ljava/util/ArrayList;->size()I
move-result v1
.local v1, "size":I
:goto_4f
if-ge v0, v1, :cond_63
.line 2167
invoke-static {}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$10400()Ljava/util/ArrayList;
move-result-object v2
invoke-virtual {v2, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Lim/tpelyyftgw/messenger/MediaController$PhotoEntry;
iget-object v2, v2, Lim/tpelyyftgw/messenger/MediaController$PhotoEntry;->path:Ljava/lang/String;
invoke-static {v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->addMediaToGallery(Ljava/lang/String;)V
.line 2166
add-int/lit8 v0, v0, 0x1
goto :goto_4f
.line 2170
.end local v0 # "a":I
.end local v1 # "size":I
:cond_63
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$1200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)V
.line 2171
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$1300(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/ChatAttachAlert$ChatAttachViewDelegate;
move-result-object v0
const/16 v1, 0x8
const/4 v2, 0x1
invoke-interface {v0, v1, v2, p3, p4}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$ChatAttachViewDelegate;->didPressedButton(IZZI)V
.line 2172
invoke-static {}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$10400()Ljava/util/ArrayList;
move-result-object v0
invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
.line 2173
invoke-static {}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$400()Ljava/util/ArrayList;
move-result-object v0
invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
.line 2174
invoke-static {}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$100()Ljava/util/HashMap;
move-result-object v0
invoke-virtual {v0}, Ljava/util/HashMap;->clear()V
.line 2175
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;->notifyDataSetChanged()V
.line 2176
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$6200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;->notifyDataSetChanged()V
.line 2177
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->closeCamera(Z)V
.line 2178
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->dismiss()V
.line 2179
return-void
.line 2159
:cond_a7
:goto_a7
return-void
.end method
.method public willHidePhotoViewer()V
.registers 6
.line 2192
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
const/4 v1, 0x0
invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$8002(Lim/tpelyyftgw/ui/components/ChatAttachAlert;Z)Z
.line 2193
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getChildCount()I
move-result v0
.line 2194
.local v0, "count":I
const/4 v1, 0x0
.local v1, "a":I
:goto_11
if-ge v1, v0, :cond_2e
.line 2195
iget-object v2, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$24;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-static {v2}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v2
invoke-virtual {v2, v1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getChildAt(I)Landroid/view/View;
move-result-object v2
.line 2196
.local v2, "view":Landroid/view/View;
instance-of v3, v2, Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell;
if-eqz v3, :cond_2b
.line 2197
move-object v3, v2
check-cast v3, Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell;
.line 2198
.local v3, "cell":Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell;
invoke-virtual {v3}, Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell;->showImage()V
.line 2199
const/4 v4, 0x1
invoke-virtual {v3, v4}, Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell;->showCheck(Z)V
.line 2194
.end local v2 # "view":Landroid/view/View;
.end local v3 # "cell":Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell;
:cond_2b
add-int/lit8 v1, v1, 0x1
goto :goto_11
.line 2202
.end local v1 # "a":I
:cond_2e
return-void
.end method