NotificationSettingsFragment$4.smali

.class Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment$4;
.super Ljava/lang/Object;
.source "NotificationSettingsFragment.java"

# interfaces
.implements Lcom/rey/material/widget/Switch$OnCheckedChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;


# direct methods
.method constructor <init>(Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;)V
    .registers 2

    .line 287
    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onCheckedChanged(Lcom/rey/material/widget/Switch;Z)V
    .registers 5

    .line 290
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;

    const/4 v1, 0x1

    # setter for: Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;->isAnyChangesMade:Z
    invoke-static {v0, v1}, Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;->access$902(Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;Z)Z

    .line 291
    invoke-virtual {p1}, Lcom/rey/material/widget/Switch;->getTag()Ljava/lang/Object;

    move-result-object v0

    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;

    # getter for: Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;->notificationGeneralSwi:Lcom/rey/material/widget/Switch;
    invoke-static {v1}, Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;->access$300(Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;)Lcom/rey/material/widget/Switch;

    move-result-object v1

    invoke-virtual {v1}, Lcom/rey/material/widget/Switch;->getTag()Ljava/lang/Object;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_20

    .line 292
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;

    # invokes: Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;->onNotificationGeneralCheckChanged(Z)V
    invoke-static {p1, p2}, Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;->access$1000(Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;Z)V

    goto :goto_39

    .line 293
    :cond_20
    invoke-virtual {p1}, Lcom/rey/material/widget/Switch;->getTag()Ljava/lang/Object;

    move-result-object p1

    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;

    # getter for: Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;->notificationHourSwi:Lcom/rey/material/widget/Switch;
    invoke-static {v0}, Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;->access$500(Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;)Lcom/rey/material/widget/Switch;

    move-result-object v0

    invoke-virtual {v0}, Lcom/rey/material/widget/Switch;->getTag()Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_39

    .line 294
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;

    # invokes: Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;->onNotificationHourCheckChanged(Z)V
    invoke-static {p1, p2}, Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;->access$1100(Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;Z)V

    .line 296
    :cond_39
    :goto_39
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;

    # invokes: Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;->updateUi()V
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;->access$1200(Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;)V

    return-void
.end method