apkfuckery/com.discord/smali_classes2/com/lytefast/flexinput/fragment/CameraFragment$d.smali
2019-11-20 23:09:14 +01:00

109 lines
2.5 KiB
Smali

.class final Lcom/lytefast/flexinput/fragment/CameraFragment$d;
.super Lkotlin/jvm/internal/m;
.source "CameraFragment.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function2;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/lytefast/flexinput/fragment/CameraFragment;-><init>()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/internal/m;",
"Lkotlin/jvm/functions/Function2<",
"Landroid/view/View;",
"Ljava/lang/Integer;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# static fields
.field public static final aXh:Lcom/lytefast/flexinput/fragment/CameraFragment$d;
# direct methods
.method static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/lytefast/flexinput/fragment/CameraFragment$d;
invoke-direct {v0}, Lcom/lytefast/flexinput/fragment/CameraFragment$d;-><init>()V
sput-object v0, Lcom/lytefast/flexinput/fragment/CameraFragment$d;->aXh:Lcom/lytefast/flexinput/fragment/CameraFragment$d;
return-void
.end method
.method constructor <init>()V
.locals 1
const/4 v0, 0x2
invoke-direct {p0, v0}, Lkotlin/jvm/internal/m;-><init>(I)V
return-void
.end method
# virtual methods
.method public final synthetic invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 1
check-cast p1, Landroid/view/View;
check-cast p2, Ljava/lang/Number;
invoke-virtual {p2}, Ljava/lang/Number;->intValue()I
move-result p2
const-string v0, "flashBtn"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
if-eqz p2, :cond_1
const/4 v0, 0x1
if-eq p2, v0, :cond_0
sget p2, Lcom/lytefast/flexinput/R$g;->flash_auto:I
goto :goto_0
:cond_0
sget p2, Lcom/lytefast/flexinput/R$g;->flash_on:I
goto :goto_0
:cond_1
sget p2, Lcom/lytefast/flexinput/R$g;->flash_off:I
:goto_0
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object p1
const/4 v0, 0x0
invoke-static {p1, p2, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;
move-result-object p1
invoke-virtual {p1}, Landroid/widget/Toast;->show()V
sget-object p1, Lkotlin/Unit;->bgy:Lkotlin/Unit;
return-object p1
.end method