86 lines
2.6 KiB
Smali
86 lines
2.6 KiB
Smali
.class public final Lcom/lytefast/flexinput/fragment/FlexInputFragment$d;
|
|
.super Li0/n/c/i;
|
|
.source "FlexInputFragment.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/lytefast/flexinput/fragment/FlexInputFragment;->q(Landroidx/appcompat/widget/AppCompatEditText;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Li0/n/c/i;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"Landroidx/core/view/inputmethod/InputContentInfoCompat;",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic this$0:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$d;->this$0:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
invoke-direct {p0, p1}, Li0/n/c/i;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 4
|
|
|
|
check-cast p1, Landroidx/core/view/inputmethod/InputContentInfoCompat;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
sget-object v0, Lcom/lytefast/flexinput/model/Attachment;->Companion:Lcom/lytefast/flexinput/model/Attachment$Companion;
|
|
|
|
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$d;->this$0:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
|
|
|
invoke-virtual {v1}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "requireContext()"
|
|
|
|
invoke-static {v1, v2}, Li0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "requireContext().contentResolver"
|
|
|
|
invoke-static {v1, v2}, Li0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const-string v3, "unknown"
|
|
|
|
invoke-virtual {v0, p1, v1, v2, v3}, Lcom/lytefast/flexinput/model/Attachment$Companion;->b(Landroidx/core/view/inputmethod/InputContentInfoCompat;Landroid/content/ContentResolver;ZLjava/lang/String;)Lcom/lytefast/flexinput/model/Attachment;
|
|
|
|
:cond_0
|
|
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
return-object p1
|
|
.end method
|