f$g.smali
.class public final Ltj/f$g;
.super Ljava/lang/Object;
.source "SettingViewModule.kt"
# interfaces
.implements Landroid/view/View$OnTouchListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Ltj/f;-><init>()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
# instance fields
.field public final synthetic a:Ltj/f;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Ltj/f;)V
.registers 2
iput-object p1, p0, Ltj/f$g;->a:Ltj/f;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
.registers 4
const-string v0, "event"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I
move-result p2
const/4 v0, 0x1
if-ne p2, v0, :cond_3d
const p2, 0x7f0903b0
invoke-static {p2}, Lnp/NPFog;->d(I)I
move-result p2
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object p1
check-cast p1, Landroidx/appcompat/widget/SwitchCompat;
if-eqz p1, :cond_3d
invoke-virtual {p1}, Landroid/widget/CompoundButton;->isChecked()Z
move-result p2
if-eqz p2, :cond_30
const/4 p2, 0x0
invoke-virtual {p1, p2}, Landroidx/appcompat/widget/SwitchCompat;->setChecked(Z)V
iget-object p1, p0, Ltj/f$g;->a:Ltj/f;
invoke-virtual {p1, p2}, Ltj/f;->a(Z)V
iget-object p1, p0, Ltj/f$g;->a:Ltj/f;
invoke-virtual {p1}, Ltj/f;->j()V
goto :goto_3d
:cond_30
invoke-virtual {p1, v0}, Landroidx/appcompat/widget/SwitchCompat;->setChecked(Z)V
iget-object p1, p0, Ltj/f$g;->a:Ltj/f;
invoke-virtual {p1, v0}, Ltj/f;->a(Z)V
iget-object p1, p0, Ltj/f$g;->a:Ltj/f;
invoke-virtual {p1}, Ltj/f;->i()V
:cond_3d
:goto_3d
return v0
.end method