2019-10-03 02:31:26 +00:00
|
|
|
.class final Lcom/lytefast/flexinput/fragment/CameraFragment$e$1;
|
2019-07-24 11:27:29 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "CameraFragment.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
2019-10-03 02:31:26 +00:00
|
|
|
value = Lcom/lytefast/flexinput/fragment/CameraFragment$e;->a(Lcom/camerakit/CameraKitView;[B)V
|
2019-07-24 11:27:29 +00:00
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x18
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-10-03 02:31:26 +00:00
|
|
|
.field final synthetic $context:Landroid/content/Context;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 01:29:57 +00:00
|
|
|
.field final synthetic aXp:Lcom/lytefast/flexinput/fragment/CameraFragment$e;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-12-06 01:29:57 +00:00
|
|
|
.field final synthetic aXq:[B
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-12-06 01:29:57 +00:00
|
|
|
.field final synthetic aXr:Lcom/camerakit/CameraKitView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-10-03 02:31:26 +00:00
|
|
|
.method constructor <init>(Lcom/lytefast/flexinput/fragment/CameraFragment$e;[BLandroid/content/Context;Lcom/camerakit/CameraKitView;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 0
|
|
|
|
|
2019-12-06 01:29:57 +00:00
|
|
|
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$e$1;->aXp:Lcom/lytefast/flexinput/fragment/CameraFragment$e;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-12-06 01:29:57 +00:00
|
|
|
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$e$1;->aXq:[B
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
iput-object p3, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$e$1;->$context:Landroid/content/Context;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 01:29:57 +00:00
|
|
|
iput-object p4, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$e$1;->aXr:Lcom/camerakit/CameraKitView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final run()V
|
2019-08-30 20:04:20 +00:00
|
|
|
.locals 4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 01:29:57 +00:00
|
|
|
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$e$1;->aXp:Lcom/lytefast/flexinput/fragment/CameraFragment$e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, v0, Lcom/lytefast/flexinput/fragment/CameraFragment$e;->this$0:Lcom/lytefast/flexinput/fragment/CameraFragment;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/lytefast/flexinput/fragment/CameraFragment;->access$getFlexInputCoordinator$p(Lcom/lytefast/flexinput/fragment/CameraFragment;)Lcom/lytefast/flexinput/FlexInputCoordinator;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-interface {v0}, Lcom/lytefast/flexinput/FlexInputCoordinator;->getFileManager()Lcom/lytefast/flexinput/managers/FileManager;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2019-12-06 01:29:57 +00:00
|
|
|
invoke-interface {v0}, Lcom/lytefast/flexinput/managers/FileManager;->Bp()Ljava/io/File;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
new-instance v1, Ljava/io/FileOutputStream;
|
|
|
|
|
|
|
|
invoke-direct {v1, v0}, Ljava/io/FileOutputStream;-><init>(Ljava/io/File;)V
|
|
|
|
|
|
|
|
check-cast v1, Ljava/io/Closeable;
|
|
|
|
:try_end_0
|
2019-08-30 20:04:20 +00:00
|
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:try_start_1
|
2019-08-30 20:04:20 +00:00
|
|
|
move-object v2, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Ljava/io/FileOutputStream;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 01:29:57 +00:00
|
|
|
iget-object v3, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$e$1;->aXq:[B
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
invoke-virtual {v2, v3}, Ljava/io/FileOutputStream;->write([B)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 01:29:57 +00:00
|
|
|
sget-object v2, Lkotlin/Unit;->bgF:Lkotlin/Unit;
|
2019-07-24 11:27:29 +00:00
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/4 v2, 0x0
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
:try_start_2
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v1, v2}, Lkotlin/d/a;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
sget-object v1, Lcom/lytefast/flexinput/fragment/CameraFragment;->Companion:Lcom/lytefast/flexinput/fragment/CameraFragment$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$e$1;->$context:Landroid/content/Context;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-static {v1, v0}, Lcom/lytefast/flexinput/fragment/CameraFragment$Companion;->a(Landroid/content/Context;Ljava/io/File;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 01:29:57 +00:00
|
|
|
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$e$1;->aXr:Lcom/camerakit/CameraKitView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
new-instance v2, Lcom/lytefast/flexinput/fragment/CameraFragment$e$1$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-direct {v2, v0, p0}, Lcom/lytefast/flexinput/fragment/CameraFragment$e$1$a;-><init>(Ljava/io/File;Lcom/lytefast/flexinput/fragment/CameraFragment$e$1;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast v2, Ljava/lang/Runnable;
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-virtual {v1, v2}, Lcom/camerakit/CameraKitView;->post(Ljava/lang/Runnable;)Z
|
2019-07-24 11:27:29 +00:00
|
|
|
:try_end_2
|
2019-08-30 20:04:20 +00:00
|
|
|
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v2
|
|
|
|
|
|
|
|
:try_start_3
|
|
|
|
throw v2
|
|
|
|
:try_end_3
|
2019-08-30 20:04:20 +00:00
|
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_1
|
|
|
|
|
|
|
|
:catchall_1
|
|
|
|
move-exception v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:try_start_4
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v1, v2}, Lkotlin/d/a;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
throw v3
|
|
|
|
:try_end_4
|
2019-08-30 20:04:20 +00:00
|
|
|
.catch Ljava/io/IOException; {:try_start_4 .. :try_end_4} :catch_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
:catch_0
|
2019-07-24 11:27:29 +00:00
|
|
|
move-exception v1
|
|
|
|
|
|
|
|
invoke-static {}, Lcom/lytefast/flexinput/fragment/CameraFragment;->access$getTAG$cp()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-string v3, "Cannot write to "
|
|
|
|
|
|
|
|
invoke-virtual {v3, v0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v1, Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
invoke-static {v2, v0, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|