DeveloperFragment$10.smali
.class final Lcom/imo/android/imoim/feeds/develop/DeveloperFragment$10;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/preference/Preference$OnPreferenceChangeListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/imo/android/imoim/feeds/develop/DeveloperFragment;->onCreate(Landroid/os/Bundle;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/imo/android/imoim/feeds/develop/DeveloperFragment;
# direct methods
.method constructor <init>(Lcom/imo/android/imoim/feeds/develop/DeveloperFragment;)V
.registers 2
.line 476
iput-object p1, p0, Lcom/imo/android/imoim/feeds/develop/DeveloperFragment$10;->a:Lcom/imo/android/imoim/feeds/develop/DeveloperFragment;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onPreferenceChange(Landroid/preference/Preference;Ljava/lang/Object;)Z
.registers 4
.line 479
instance-of p2, p1, Landroid/preference/CheckBoxPreference;
const/4 v0, 0x1
if-eqz p2, :cond_16
.line 480
check-cast p1, Landroid/preference/CheckBoxPreference;
.line 481
invoke-virtual {p1}, Landroid/preference/CheckBoxPreference;->isChecked()Z
move-result p2
xor-int/2addr p2, v0
.line 482
invoke-virtual {p1, p2}, Landroid/preference/CheckBoxPreference;->setChecked(Z)V
.line 483
sget-object p1, Lcom/masala/share/utils/d/a;->b:Lcom/masala/share/utils/d/a/a;
iget-object p1, p1, Lcom/masala/share/utils/d/a/a;->A:Lcom/masala/share/utils/d/a/d;
invoke-virtual {p1, p2}, Lcom/masala/share/utils/d/a/d;->a(Z)V
:cond_16
return v0
.end method