DeveloperFragment$3.smali

.class final Lcom/imo/android/imoim/feeds/develop/DeveloperFragment$3;
.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 313
    iput-object p1, p0, Lcom/imo/android/imoim/feeds/develop/DeveloperFragment$3;->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 316
    instance-of p2, p1, Landroid/preference/CheckBoxPreference;

    const/4 v0, 0x1

    if-eqz p2, :cond_16

    .line 317
    check-cast p1, Landroid/preference/CheckBoxPreference;

    .line 318
    invoke-virtual {p1}, Landroid/preference/CheckBoxPreference;->isChecked()Z

    move-result p2

    xor-int/2addr p2, v0

    .line 319
    invoke-virtual {p1, p2}, Landroid/preference/CheckBoxPreference;->setChecked(Z)V

    .line 320
    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;->q: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