Changes of com.discord v1344
This commit is contained in:
parent
00a03df92a
commit
ed7cf41cb9
18279 changed files with 989752 additions and 1013884 deletions
|
@ -39,103 +39,96 @@
|
|||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 12
|
||||
.locals 14
|
||||
|
||||
iget v0, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->d:I
|
||||
sget-object v0, Ly/h/l;->d:Ly/h/l;
|
||||
|
||||
const-string v1, "cameraView"
|
||||
iget v1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->d:I
|
||||
|
||||
const/4 v2, 0x0
|
||||
const-string v2, "cameraView"
|
||||
|
||||
if-eqz v0, :cond_17
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v3, 0x1
|
||||
if-eqz v1, :cond_19
|
||||
|
||||
if-eq v0, v3, :cond_16
|
||||
const/4 v4, 0x3
|
||||
|
||||
const/4 p1, 0x2
|
||||
const/4 v5, 0x2
|
||||
|
||||
const/4 v4, 0x0
|
||||
const/4 v6, 0x1
|
||||
|
||||
if-eq v0, p1, :cond_b
|
||||
if-eq v1, v6, :cond_16
|
||||
|
||||
const/4 p1, 0x3
|
||||
const/4 p1, 0x0
|
||||
|
||||
if-ne v0, p1, :cond_a
|
||||
if-eq v1, v5, :cond_b
|
||||
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->e:Ljava/lang/Object;
|
||||
if-ne v1, v4, :cond_a
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/fragment/CameraFragment;
|
||||
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->e:Ljava/lang/Object;
|
||||
|
||||
iget-object v0, p1, Lcom/lytefast/flexinput/fragment/CameraFragment;->e:Lcom/otaliastudios/cameraview/CameraView;
|
||||
check-cast v1, Lcom/lytefast/flexinput/fragment/CameraFragment;
|
||||
|
||||
if-eqz v0, :cond_9
|
||||
iget-object v4, v1, Lcom/lytefast/flexinput/fragment/CameraFragment;->e:Lcom/otaliastudios/cameraview/CameraView;
|
||||
|
||||
invoke-virtual {v0}, Lcom/otaliastudios/cameraview/CameraView;->getCameraOptions()Lf/l/a/c;
|
||||
if-eqz v4, :cond_9
|
||||
|
||||
invoke-virtual {v4}, Lcom/otaliastudios/cameraview/CameraView;->getCameraOptions()Lf/l/a/c;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
if-eqz v4, :cond_0
|
||||
|
||||
invoke-virtual {v4}, Lf/l/a/c;->a()Ljava/util/Collection;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
if-eqz v4, :cond_0
|
||||
|
||||
invoke-static {v4}, Ly/h/f;->toList(Ljava/lang/Iterable;)Ljava/util/List;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {v0}, Lf/l/a/c;->a()Ljava/util/Collection;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-static {v0}, Lz/i/f;->toList(Ljava/lang/Iterable;)Ljava/util/List;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Lz/i/l;->d:Lz/i/l;
|
||||
|
||||
:goto_0
|
||||
invoke-interface {v0}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v5
|
||||
move-result v4
|
||||
|
||||
if-gt v5, v3, :cond_1
|
||||
if-gt v4, v6, :cond_1
|
||||
|
||||
goto :goto_3
|
||||
goto :goto_2
|
||||
|
||||
:cond_1
|
||||
iget-object v5, p1, Lcom/lytefast/flexinput/fragment/CameraFragment;->e:Lcom/otaliastudios/cameraview/CameraView;
|
||||
iget-object v4, v1, Lcom/lytefast/flexinput/fragment/CameraFragment;->e:Lcom/otaliastudios/cameraview/CameraView;
|
||||
|
||||
if-eqz v5, :cond_8
|
||||
if-eqz v4, :cond_8
|
||||
|
||||
invoke-virtual {v5}, Lcom/otaliastudios/cameraview/CameraView;->getFacing()Lf/l/a/k/e;
|
||||
invoke-virtual {v4}, Lcom/otaliastudios/cameraview/CameraView;->getFacing()Lf/l/a/l/e;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
const-string v5, "cameraView.facing"
|
||||
|
||||
invoke-static {v4, v5}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v0}, Ly/h/f;->getIndices(Ljava/util/Collection;)Lkotlin/ranges/IntRange;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
const-string v6, "cameraView.facing"
|
||||
invoke-virtual {v5}, Lkotlin/ranges/IntProgression;->iterator()Ljava/util/Iterator;
|
||||
|
||||
invoke-static {v5, v6}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v0}, Lf/h/a/f/f/n/f;->getIndices(Ljava/util/Collection;)Lkotlin/ranges/IntRange;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
invoke-virtual {v6}, Lkotlin/ranges/IntProgression;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v6
|
||||
move-result-object v5
|
||||
|
||||
:cond_2
|
||||
move-object v7, v6
|
||||
move-object v7, v5
|
||||
|
||||
check-cast v7, Lz/q/b;
|
||||
check-cast v7, Ly/p/b;
|
||||
|
||||
iget-boolean v7, v7, Lz/q/b;->e:Z
|
||||
iget-boolean v7, v7, Ly/p/b;->e:Z
|
||||
|
||||
if-eqz v7, :cond_4
|
||||
|
||||
move-object v7, v6
|
||||
|
||||
check-cast v7, Lz/i/o;
|
||||
|
||||
invoke-virtual {v7}, Lz/i/o;->next()Ljava/lang/Object;
|
||||
invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v7
|
||||
|
||||
|
@ -151,163 +144,154 @@
|
|||
|
||||
move-result-object v8
|
||||
|
||||
check-cast v8, Lf/l/a/k/e;
|
||||
check-cast v8, Lf/l/a/l/e;
|
||||
|
||||
if-ne v5, v8, :cond_3
|
||||
if-ne v4, v8, :cond_3
|
||||
|
||||
const/4 v8, 0x1
|
||||
|
||||
goto :goto_1
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
const/4 v8, 0x0
|
||||
|
||||
:goto_1
|
||||
:goto_0
|
||||
if-eqz v8, :cond_2
|
||||
|
||||
goto :goto_2
|
||||
goto :goto_1
|
||||
|
||||
:cond_4
|
||||
move-object v7, v2
|
||||
move-object v7, v3
|
||||
|
||||
:goto_2
|
||||
:goto_1
|
||||
check-cast v7, Ljava/lang/Integer;
|
||||
|
||||
if-eqz v7, :cond_5
|
||||
|
||||
invoke-virtual {v7}, Ljava/lang/Integer;->intValue()I
|
||||
|
||||
move-result v4
|
||||
move-result p1
|
||||
|
||||
:cond_5
|
||||
add-int/2addr v4, v3
|
||||
add-int/2addr p1, v6
|
||||
|
||||
invoke-interface {v0}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v3
|
||||
move-result v4
|
||||
|
||||
rem-int/2addr v4, v3
|
||||
rem-int/2addr p1, v4
|
||||
|
||||
invoke-static {v0, v4}, Lz/i/f;->getOrNull(Ljava/util/List;I)Ljava/lang/Object;
|
||||
invoke-static {v0, p1}, Ly/h/f;->getOrNull(Ljava/util/List;I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
move-result-object p1
|
||||
|
||||
check-cast v0, Lf/l/a/k/e;
|
||||
check-cast p1, Lf/l/a/l/e;
|
||||
|
||||
if-eqz v0, :cond_7
|
||||
if-eqz p1, :cond_7
|
||||
|
||||
invoke-virtual {p1}, Lcom/lytefast/flexinput/fragment/CameraFragment;->i()V
|
||||
invoke-virtual {v1}, Lcom/lytefast/flexinput/fragment/CameraFragment;->f()V
|
||||
|
||||
iget-object p1, p1, Lcom/lytefast/flexinput/fragment/CameraFragment;->e:Lcom/otaliastudios/cameraview/CameraView;
|
||||
iget-object v0, v1, Lcom/lytefast/flexinput/fragment/CameraFragment;->e:Lcom/otaliastudios/cameraview/CameraView;
|
||||
|
||||
if-eqz p1, :cond_6
|
||||
if-eqz v0, :cond_6
|
||||
|
||||
invoke-virtual {p1, v0}, Lcom/otaliastudios/cameraview/CameraView;->setFacing(Lf/l/a/k/e;)V
|
||||
invoke-virtual {v0, p1}, Lcom/otaliastudios/cameraview/CameraView;->setFacing(Lf/l/a/l/e;)V
|
||||
|
||||
goto :goto_3
|
||||
goto :goto_2
|
||||
|
||||
:cond_6
|
||||
invoke-static {v1}, Lz/n/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
invoke-static {v2}, Ly/m/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v2
|
||||
throw v3
|
||||
|
||||
:cond_7
|
||||
:goto_3
|
||||
:goto_2
|
||||
return-void
|
||||
|
||||
:cond_8
|
||||
invoke-static {v1}, Lz/n/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
invoke-static {v2}, Ly/m/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v2
|
||||
throw v3
|
||||
|
||||
:cond_9
|
||||
invoke-static {v1}, Lz/n/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
invoke-static {v2}, Ly/m/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v2
|
||||
throw v3
|
||||
|
||||
:cond_a
|
||||
throw v2
|
||||
throw v3
|
||||
|
||||
:cond_b
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->e:Ljava/lang/Object;
|
||||
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->e:Ljava/lang/Object;
|
||||
|
||||
move-object v5, p1
|
||||
move-object v7, v1
|
||||
|
||||
check-cast v5, Lcom/lytefast/flexinput/fragment/CameraFragment;
|
||||
check-cast v7, Lcom/lytefast/flexinput/fragment/CameraFragment;
|
||||
|
||||
iget-object p1, v5, Lcom/lytefast/flexinput/fragment/CameraFragment;->e:Lcom/otaliastudios/cameraview/CameraView;
|
||||
iget-object v1, v7, Lcom/lytefast/flexinput/fragment/CameraFragment;->e:Lcom/otaliastudios/cameraview/CameraView;
|
||||
|
||||
if-eqz p1, :cond_15
|
||||
if-eqz v1, :cond_15
|
||||
|
||||
invoke-virtual {p1}, Lcom/otaliastudios/cameraview/CameraView;->getCameraOptions()Lf/l/a/c;
|
||||
invoke-virtual {v1}, Lcom/otaliastudios/cameraview/CameraView;->getCameraOptions()Lf/l/a/c;
|
||||
|
||||
move-result-object p1
|
||||
move-result-object v1
|
||||
|
||||
if-eqz p1, :cond_c
|
||||
if-eqz v1, :cond_c
|
||||
|
||||
invoke-virtual {p1}, Lf/l/a/c;->b()Ljava/util/Collection;
|
||||
invoke-virtual {v1}, Lf/l/a/c;->b()Ljava/util/Collection;
|
||||
|
||||
move-result-object p1
|
||||
move-result-object v1
|
||||
|
||||
if-eqz p1, :cond_c
|
||||
if-eqz v1, :cond_c
|
||||
|
||||
invoke-static {p1}, Lz/i/f;->toList(Ljava/lang/Iterable;)Ljava/util/List;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_c
|
||||
sget-object p1, Lz/i/l;->d:Lz/i/l;
|
||||
|
||||
:goto_4
|
||||
invoke-interface {p1}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-gt v0, v3, :cond_d
|
||||
|
||||
goto/16 :goto_7
|
||||
|
||||
:cond_d
|
||||
iget-object v0, v5, Lcom/lytefast/flexinput/fragment/CameraFragment;->e:Lcom/otaliastudios/cameraview/CameraView;
|
||||
|
||||
if-eqz v0, :cond_14
|
||||
|
||||
invoke-virtual {v0}, Lcom/otaliastudios/cameraview/CameraView;->getFlash()Lf/l/a/k/f;
|
||||
invoke-static {v1}, Ly/h/f;->toList(Ljava/lang/Iterable;)Ljava/util/List;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v6, "cameraView.flash"
|
||||
:cond_c
|
||||
invoke-interface {v0}, Ljava/util/List;->size()I
|
||||
|
||||
invoke-static {v0, v6}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
move-result v1
|
||||
|
||||
invoke-static {p1}, Lf/h/a/f/f/n/f;->getIndices(Ljava/util/Collection;)Lkotlin/ranges/IntRange;
|
||||
if-gt v1, v6, :cond_d
|
||||
|
||||
move-result-object v6
|
||||
goto/16 :goto_5
|
||||
|
||||
invoke-virtual {v6}, Lkotlin/ranges/IntProgression;->iterator()Ljava/util/Iterator;
|
||||
:cond_d
|
||||
iget-object v1, v7, Lcom/lytefast/flexinput/fragment/CameraFragment;->e:Lcom/otaliastudios/cameraview/CameraView;
|
||||
|
||||
move-result-object v6
|
||||
if-eqz v1, :cond_14
|
||||
|
||||
invoke-virtual {v1}, Lcom/otaliastudios/cameraview/CameraView;->getFlash()Lf/l/a/l/f;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const-string v4, "cameraView.flash"
|
||||
|
||||
invoke-static {v1, v4}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v0}, Ly/h/f;->getIndices(Ljava/util/Collection;)Lkotlin/ranges/IntRange;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-virtual {v4}, Lkotlin/ranges/IntProgression;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
:cond_e
|
||||
move-object v7, v6
|
||||
move-object v5, v4
|
||||
|
||||
check-cast v7, Lz/q/b;
|
||||
check-cast v5, Ly/p/b;
|
||||
|
||||
iget-boolean v7, v7, Lz/q/b;->e:Z
|
||||
iget-boolean v5, v5, Ly/p/b;->e:Z
|
||||
|
||||
if-eqz v7, :cond_10
|
||||
if-eqz v5, :cond_10
|
||||
|
||||
move-object v7, v6
|
||||
invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
check-cast v7, Lz/i/o;
|
||||
move-result-object v5
|
||||
|
||||
invoke-virtual {v7}, Lz/i/o;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v7
|
||||
|
||||
move-object v8, v7
|
||||
move-object v8, v5
|
||||
|
||||
check-cast v8, Ljava/lang/Number;
|
||||
|
||||
|
@ -315,111 +299,111 @@
|
|||
|
||||
move-result v8
|
||||
|
||||
invoke-interface {p1, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
invoke-interface {v0, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v8
|
||||
|
||||
check-cast v8, Lf/l/a/k/f;
|
||||
check-cast v8, Lf/l/a/l/f;
|
||||
|
||||
if-ne v0, v8, :cond_f
|
||||
if-ne v1, v8, :cond_f
|
||||
|
||||
const/4 v8, 0x1
|
||||
|
||||
goto :goto_5
|
||||
goto :goto_3
|
||||
|
||||
:cond_f
|
||||
const/4 v8, 0x0
|
||||
|
||||
:goto_5
|
||||
:goto_3
|
||||
if-eqz v8, :cond_e
|
||||
|
||||
goto :goto_6
|
||||
goto :goto_4
|
||||
|
||||
:cond_10
|
||||
move-object v7, v2
|
||||
move-object v5, v3
|
||||
|
||||
:goto_6
|
||||
check-cast v7, Ljava/lang/Integer;
|
||||
:goto_4
|
||||
check-cast v5, Ljava/lang/Integer;
|
||||
|
||||
if-eqz v7, :cond_11
|
||||
if-eqz v5, :cond_11
|
||||
|
||||
invoke-virtual {v7}, Ljava/lang/Integer;->intValue()I
|
||||
invoke-virtual {v5}, Ljava/lang/Integer;->intValue()I
|
||||
|
||||
move-result v4
|
||||
move-result p1
|
||||
|
||||
:cond_11
|
||||
add-int/2addr v4, v3
|
||||
add-int/2addr p1, v6
|
||||
|
||||
invoke-interface {p1}, Ljava/util/List;->size()I
|
||||
invoke-interface {v0}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v0
|
||||
move-result v1
|
||||
|
||||
rem-int/2addr v4, v0
|
||||
rem-int/2addr p1, v1
|
||||
|
||||
invoke-static {p1, v4}, Lz/i/f;->getOrNull(Ljava/util/List;I)Ljava/lang/Object;
|
||||
invoke-static {v0, p1}, Ly/h/f;->getOrNull(Ljava/util/List;I)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Lf/l/a/k/f;
|
||||
check-cast p1, Lf/l/a/l/f;
|
||||
|
||||
if-eqz p1, :cond_13
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, v5, Lcom/lytefast/flexinput/fragment/CameraFragment;->e:Lcom/otaliastudios/cameraview/CameraView;
|
||||
iget-object v0, v7, Lcom/lytefast/flexinput/fragment/CameraFragment;->e:Lcom/otaliastudios/cameraview/CameraView;
|
||||
|
||||
if-eqz v0, :cond_12
|
||||
|
||||
invoke-virtual {v0, p1}, Lcom/otaliastudios/cameraview/CameraView;->setFlash(Lf/l/a/k/f;)V
|
||||
invoke-virtual {v0, p1}, Lcom/otaliastudios/cameraview/CameraView;->setFlash(Lf/l/a/l/f;)V
|
||||
|
||||
invoke-virtual {v5}, Lcom/lytefast/flexinput/fragment/CameraFragment;->j()V
|
||||
invoke-virtual {v7}, Lcom/lytefast/flexinput/fragment/CameraFragment;->g()V
|
||||
|
||||
goto :goto_7
|
||||
goto :goto_5
|
||||
|
||||
:cond_12
|
||||
invoke-static {v1}, Lz/n/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
invoke-static {v2}, Ly/m/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
:try_end_0
|
||||
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
throw v2
|
||||
throw v3
|
||||
|
||||
:catch_0
|
||||
move-exception p1
|
||||
|
||||
move-object v7, p1
|
||||
move-object v9, p1
|
||||
|
||||
sget p1, Lcom/lytefast/flexinput/R$g;->camera_unknown_error:I
|
||||
|
||||
invoke-virtual {v5, p1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
invoke-virtual {v7, p1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
move-result-object v6
|
||||
move-result-object v8
|
||||
|
||||
const-string p1, "getString(R.string.camera_unknown_error)"
|
||||
|
||||
invoke-static {v6, p1}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-static {v8, p1}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/4 v8, 0x1
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
const/16 v10, 0x8
|
||||
const/4 v10, 0x1
|
||||
|
||||
const/4 v11, 0x0
|
||||
|
||||
invoke-static/range {v5 .. v11}, Lcom/lytefast/flexinput/fragment/CameraFragment;->l(Lcom/lytefast/flexinput/fragment/CameraFragment;Ljava/lang/String;Ljava/lang/Exception;ZLjava/lang/String;ILjava/lang/Object;)V
|
||||
const/16 v12, 0x8
|
||||
|
||||
const/4 v13, 0x0
|
||||
|
||||
invoke-static/range {v7 .. v13}, Lcom/lytefast/flexinput/fragment/CameraFragment;->i(Lcom/lytefast/flexinput/fragment/CameraFragment;Ljava/lang/String;Ljava/lang/Exception;ZLjava/lang/String;ILjava/lang/Object;)V
|
||||
|
||||
:cond_13
|
||||
:goto_7
|
||||
:goto_5
|
||||
return-void
|
||||
|
||||
:cond_14
|
||||
invoke-static {v1}, Lz/n/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
invoke-static {v2}, Ly/m/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v2
|
||||
throw v3
|
||||
|
||||
:cond_15
|
||||
invoke-static {v1}, Lz/n/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
invoke-static {v2}, Ly/m/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v2
|
||||
throw v3
|
||||
|
||||
:cond_16
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->e:Ljava/lang/Object;
|
||||
|
@ -428,7 +412,7 @@
|
|||
|
||||
const-string v1, "it"
|
||||
|
||||
invoke-static {p1, v1}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-static {p1, v1}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
|
||||
|
||||
|
@ -436,27 +420,130 @@
|
|||
|
||||
const-string v1, "it.context"
|
||||
|
||||
invoke-static {p1, v1}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-static {p1, v1}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v0, p1}, Lcom/lytefast/flexinput/fragment/CameraFragment;->h(Lcom/lytefast/flexinput/fragment/CameraFragment;Landroid/content/Context;)V
|
||||
sget-object v1, Lcom/lytefast/flexinput/fragment/CameraFragment;->l:[Ljava/lang/String;
|
||||
|
||||
return-void
|
||||
invoke-virtual {v0}, Lcom/lytefast/flexinput/fragment/CameraFragment;->h()Lf/b/a/b;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
if-eqz v1, :cond_18
|
||||
|
||||
invoke-interface {v1}, Lf/b/a/b;->getFileManager()Lcom/lytefast/flexinput/managers/FileManager;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
if-eqz v1, :cond_18
|
||||
|
||||
invoke-interface {v1}, Lcom/lytefast/flexinput/managers/FileManager;->b()Ljava/io/File;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-interface {v1, p1, v2}, Lcom/lytefast/flexinput/managers/FileManager;->a(Landroid/content/Context;Ljava/io/File;)Landroid/net/Uri;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
new-instance v3, Landroid/content/Intent;
|
||||
|
||||
const-string v6, "android.media.action.IMAGE_CAPTURE"
|
||||
|
||||
invoke-direct {v3, v6}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
const-string v6, "output"
|
||||
|
||||
invoke-virtual {v3, v6, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v3, v5}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
const-string v5, "Intent(MediaStore.ACTION\u2026ANT_WRITE_URI_PERMISSION)"
|
||||
|
||||
invoke-static {v3, v5}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
invoke-virtual {v3, v5}, Landroid/content/Intent;->resolveActivity(Landroid/content/pm/PackageManager;)Landroid/content/ComponentName;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
if-eqz v5, :cond_18
|
||||
|
||||
iput-object v2, v0, Lcom/lytefast/flexinput/fragment/CameraFragment;->k:Ljava/io/File;
|
||||
|
||||
invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
const/high16 v5, 0x10000
|
||||
|
||||
invoke-virtual {v2, v3, v5}, Landroid/content/pm/PackageManager;->queryIntentActivities(Landroid/content/Intent;I)Ljava/util/List;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
const-string v5, "packageManager.queryInte\u2026nager.MATCH_DEFAULT_ONLY)"
|
||||
|
||||
invoke-static {v2, v5}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
:goto_6
|
||||
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v5
|
||||
|
||||
if-eqz v5, :cond_17
|
||||
|
||||
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
check-cast v5, Landroid/content/pm/ResolveInfo;
|
||||
|
||||
iget-object v5, v5, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;
|
||||
|
||||
iget-object v5, v5, Landroid/content/pm/ActivityInfo;->packageName:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {p1, v5, v1, v4}, Landroid/content/Context;->grantUriPermission(Ljava/lang/String;Landroid/net/Uri;I)V
|
||||
|
||||
goto :goto_6
|
||||
|
||||
:cond_17
|
||||
const/16 p1, 0x11d7
|
||||
|
||||
invoke-virtual {v0, v3, p1}, Landroidx/fragment/app/Fragment;->startActivityForResult(Landroid/content/Intent;I)V
|
||||
|
||||
:cond_18
|
||||
return-void
|
||||
|
||||
:cond_19
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/fragment/CameraFragment;
|
||||
|
||||
iget-object p1, p1, Lcom/lytefast/flexinput/fragment/CameraFragment;->e:Lcom/otaliastudios/cameraview/CameraView;
|
||||
|
||||
if-eqz p1, :cond_18
|
||||
if-eqz p1, :cond_1a
|
||||
|
||||
invoke-virtual {p1}, Lcom/otaliastudios/cameraview/CameraView;->h()V
|
||||
new-instance v0, Lf/l/a/k$a;
|
||||
|
||||
invoke-direct {v0}, Lf/l/a/k$a;-><init>()V
|
||||
|
||||
iget-object p1, p1, Lcom/otaliastudios/cameraview/CameraView;->q:Lf/l/a/m/j;
|
||||
|
||||
invoke-virtual {p1, v0}, Lf/l/a/m/j;->O0(Lf/l/a/k$a;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_18
|
||||
invoke-static {v1}, Lz/n/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
:cond_1a
|
||||
invoke-static {v2}, Ly/m/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v2
|
||||
throw v3
|
||||
.end method
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
|
||||
check-cast p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
iget-object p1, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->w:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
||||
iget-object p1, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->x:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
|
@ -69,11 +69,11 @@
|
|||
|
||||
check-cast p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
iget-object p1, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->y:Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
||||
iget-object p1, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->z:Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
sget-object v0, Lz/i/l;->d:Lz/i/l;
|
||||
sget-object v0, Ly/h/l;->d:Ly/h/l;
|
||||
|
||||
invoke-interface {p1, v0}, Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;->onAttachmentsUpdated(Ljava/util/List;)V
|
||||
|
||||
|
@ -83,7 +83,7 @@
|
|||
:cond_1
|
||||
const-string p1, "attachmentPreviewAdapter"
|
||||
|
||||
invoke-static {p1}, Lz/n/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
invoke-static {p1}, Ly/m/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v1
|
||||
|
||||
|
@ -95,7 +95,7 @@
|
|||
|
||||
check-cast p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
iget-object p1, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->y:Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
||||
iget-object p1, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->z:Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
||||
|
||||
if-eqz p1, :cond_4
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue