VoIPHelper$10.smali
.class final Lim/tpelyyftgw/ui/components/voip/VoIPHelper$10;
.super Ljava/lang/Object;
.source "VoIPHelper.java"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lim/tpelyyftgw/ui/components/voip/VoIPHelper;->showCallDebugSettings(Landroid/content/Context;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = null
.end annotation
# instance fields
.field final synthetic val$connectionServiceCell:Lim/tpelyyftgw/ui/cells/TextCheckCell;
.field final synthetic val$preferences:Landroid/content/SharedPreferences;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>(Landroid/content/SharedPreferences;Lim/tpelyyftgw/ui/cells/TextCheckCell;)V
.registers 3
.line 472
iput-object p1, p0, Lim/tpelyyftgw/ui/components/voip/VoIPHelper$10;->val$preferences:Landroid/content/SharedPreferences;
iput-object p2, p0, Lim/tpelyyftgw/ui/components/voip/VoIPHelper$10;->val$connectionServiceCell:Lim/tpelyyftgw/ui/cells/TextCheckCell;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onClick(Landroid/view/View;)V
.registers 6
.param p1, "v" # Landroid/view/View;
.line 475
iget-object v0, p0, Lim/tpelyyftgw/ui/components/voip/VoIPHelper$10;->val$preferences:Landroid/content/SharedPreferences;
const-string v1, "dbg_force_connection_service"
const/4 v2, 0x0
invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z
move-result v0
.line 476
.local v0, "force":Z
iget-object v2, p0, Lim/tpelyyftgw/ui/components/voip/VoIPHelper$10;->val$preferences:Landroid/content/SharedPreferences;
invoke-interface {v2}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v2
.line 477
.local v2, "editor":Landroid/content/SharedPreferences$Editor;
xor-int/lit8 v3, v0, 0x1
invoke-interface {v2, v1, v3}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;
.line 478
invoke-interface {v2}, Landroid/content/SharedPreferences$Editor;->commit()Z
.line 479
iget-object v1, p0, Lim/tpelyyftgw/ui/components/voip/VoIPHelper$10;->val$connectionServiceCell:Lim/tpelyyftgw/ui/cells/TextCheckCell;
xor-int/lit8 v3, v0, 0x1
invoke-virtual {v1, v3}, Lim/tpelyyftgw/ui/cells/TextCheckCell;->setChecked(Z)V
.line 480
return-void
.end method