ProfileNotificationsActivity.smali
.class public Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.super Lim/tpelyyftgw/ui/actionbar/BaseFragment;
.source "ProfileNotificationsActivity.java"
# interfaces
.implements Lim/tpelyyftgw/messenger/NotificationCenter$NotificationCenterDelegate;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;,
Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ProfileNotificationsActivityDelegate;
}
.end annotation
# static fields
.field private static final done_button:I
# instance fields
.field private adapter:Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
.field private addingException:Z
.field private animatorSet:Landroid/animation/AnimatorSet;
.field private avatarRow:I
.field private avatarSectionRow:I
.field private callsRow:I
.field private callsVibrateRow:I
.field private colorRow:I
.field private customEnabled:Z
.field private customInfoRow:I
.field private customRow:I
.field private delegate:Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ProfileNotificationsActivityDelegate;
.field private dialog_id:J
.field private enableRow:I
.field private generalRow:I
.field private ledInfoRow:I
.field private ledRow:I
.field private listView:Lim/tpelyyftgw/ui/components/RecyclerListView;
.field private notificationsEnabled:Z
.field private popupDisabledRow:I
.field private popupEnabledRow:I
.field private popupInfoRow:I
.field private popupRow:I
.field private previewRow:I
.field private priorityInfoRow:I
.field private priorityRow:I
.field private ringtoneInfoRow:I
.field private ringtoneRow:I
.field private rowCount:I
.field private smartRow:I
.field private soundRow:I
.field private vibrateRow:I
# direct methods
.method static constructor <clinit>()V
.registers 1
const v0, 0x156e
invoke-static {v0}, Lnp/NPFog;->d(I)I
move-result v0
sput v0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->done_button:I
return-void
.end method
.method public constructor <init>(Landroid/os/Bundle;)V
.registers 4
.param p1, "args" # Landroid/os/Bundle;
.line 111
invoke-direct {p0, p1}, Lim/tpelyyftgw/ui/actionbar/BaseFragment;-><init>(Landroid/os/Bundle;)V
.line 112
const-string v0, "dialog_id"
invoke-virtual {p1, v0}, Landroid/os/Bundle;->getLong(Ljava/lang/String;)J
move-result-wide v0
iput-wide v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
.line 113
const-string v0, "exception"
const/4 v1, 0x0
invoke-virtual {p1, v0, v1}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z
move-result v0
iput-boolean v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->addingException:Z
.line 114
return-void
.end method
.method static synthetic access$000(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Z
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget-boolean v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->addingException:Z
return v0
.end method
.method static synthetic access$100(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Z
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget-boolean v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->notificationsEnabled:Z
return v0
.end method
.method static synthetic access$1000(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
return v0
.end method
.method static synthetic access$102(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;Z)Z
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.param p1, "x1" # Z
.line 64
iput-boolean p1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->notificationsEnabled:Z
return p1
.end method
.method static synthetic access$1100(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ProfileNotificationsActivityDelegate;
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->delegate:Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ProfileNotificationsActivityDelegate;
return-object v0
.end method
.method static synthetic access$1200(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->customRow:I
return v0
.end method
.method static synthetic access$1300(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
return v0
.end method
.method static synthetic access$1400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)V
.registers 1
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
invoke-direct {p0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->checkRowsEnabled()V
return-void
.end method
.method static synthetic access$1500(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->soundRow:I
return v0
.end method
.method static synthetic access$1600(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
return v0
.end method
.method static synthetic access$1700(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->ringtoneRow:I
return v0
.end method
.method static synthetic access$1800(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
return v0
.end method
.method static synthetic access$1900(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->vibrateRow:I
return v0
.end method
.method static synthetic access$200(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Z
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget-boolean v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->customEnabled:Z
return v0
.end method
.method static synthetic access$2000(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->enableRow:I
return v0
.end method
.method static synthetic access$202(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;Z)Z
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.param p1, "x1" # Z
.line 64
iput-boolean p1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->customEnabled:Z
return p1
.end method
.method static synthetic access$2100(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->previewRow:I
return v0
.end method
.method static synthetic access$2200(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
return v0
.end method
.method static synthetic access$2300(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->callsVibrateRow:I
return v0
.end method
.method static synthetic access$2400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->priorityRow:I
return v0
.end method
.method static synthetic access$2500(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->smartRow:I
return v0
.end method
.method static synthetic access$2600(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
return v0
.end method
.method static synthetic access$2700(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->colorRow:I
return v0
.end method
.method static synthetic access$2800(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->popupEnabledRow:I
return v0
.end method
.method static synthetic access$2900(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
return v0
.end method
.method static synthetic access$300(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
return v0
.end method
.method static synthetic access$3000(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Lim/tpelyyftgw/ui/components/RecyclerListView;
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;
return-object v0
.end method
.method static synthetic access$3100(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->popupDisabledRow:I
return v0
.end method
.method static synthetic access$3200(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
return v0
.end method
.method static synthetic access$3300(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->adapter:Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
return-object v0
.end method
.method static synthetic access$3400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
return v0
.end method
.method static synthetic access$3500(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
return v0
.end method
.method static synthetic access$3600(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Landroid/animation/AnimatorSet;
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->animatorSet:Landroid/animation/AnimatorSet;
return-object v0
.end method
.method static synthetic access$3602(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;Landroid/animation/AnimatorSet;)Landroid/animation/AnimatorSet;
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.param p1, "x1" # Landroid/animation/AnimatorSet;
.line 64
iput-object p1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->animatorSet:Landroid/animation/AnimatorSet;
return-object p1
.end method
.method static synthetic access$3700(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
return v0
.end method
.method static synthetic access$3800(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->generalRow:I
return v0
.end method
.method static synthetic access$3900(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->popupRow:I
return v0
.end method
.method static synthetic access$400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)J
.registers 3
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget-wide v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
return-wide v0
.end method
.method static synthetic access$4000(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->ledRow:I
return v0
.end method
.method static synthetic access$4100(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->callsRow:I
return v0
.end method
.method static synthetic access$4200(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
return v0
.end method
.method static synthetic access$4300(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->popupInfoRow:I
return v0
.end method
.method static synthetic access$4400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->ledInfoRow:I
return v0
.end method
.method static synthetic access$4500(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->priorityInfoRow:I
return v0
.end method
.method static synthetic access$4600(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->customInfoRow:I
return v0
.end method
.method static synthetic access$4700(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->ringtoneInfoRow:I
return v0
.end method
.method static synthetic access$4800(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
return v0
.end method
.method static synthetic access$4900(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
return v0
.end method
.method static synthetic access$500(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
return v0
.end method
.method static synthetic access$5000(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
return v0
.end method
.method static synthetic access$5100(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
return v0
.end method
.method static synthetic access$5200(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
return v0
.end method
.method static synthetic access$5300(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
return v0
.end method
.method static synthetic access$5400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->avatarRow:I
return v0
.end method
.method static synthetic access$5500(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->avatarSectionRow:I
return v0
.end method
.method static synthetic access$600(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
return v0
.end method
.method static synthetic access$700(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
return v0
.end method
.method static synthetic access$800(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
return v0
.end method
.method static synthetic access$900(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 64
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
return v0
.end method
.method private checkRowsEnabled()V
.registers 12
.line 588
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getChildCount()I
move-result v0
.line 589
.local v0, "count":I
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
.line 590
.local v1, "animators":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Landroid/animation/Animator;>;"
const/4 v2, 0x0
.local v2, "a":I
:goto_c
if-ge v2, v0, :cond_9c
.line 591
iget-object v3, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;
invoke-virtual {v3, v2}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getChildAt(I)Landroid/view/View;
move-result-object v3
.line 592
.local v3, "child":Landroid/view/View;
iget-object v4, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;
invoke-virtual {v4, v3}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getChildViewHolder(Landroid/view/View;)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
move-result-object v4
check-cast v4, Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;
.line 593
.local v4, "holder":Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;
invoke-virtual {v4}, Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;->getItemViewType()I
move-result v5
.line 594
.local v5, "type":I
invoke-virtual {v4}, Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;->getAdapterPosition()I
move-result v6
.line 595
.local v6, "position":I
iget v7, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->customRow:I
if-eq v6, v7, :cond_98
iget v7, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->enableRow:I
if-eq v6, v7, :cond_98
if-eqz v5, :cond_98
.line 596
const/4 v7, 0x0
const/4 v8, 0x1
if-eq v5, v8, :cond_88
const/4 v9, 0x2
if-eq v5, v9, :cond_77
const/4 v9, 0x3
if-eq v5, v9, :cond_66
const/4 v9, 0x4
if-eq v5, v9, :cond_55
const/16 v9, 0x8
if-eq v5, v9, :cond_40
goto :goto_98
.line 618
:cond_40
iget v9, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->previewRow:I
if-ne v6, v9, :cond_98
.line 619
iget-object v9, v4, Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;->itemView:Landroid/view/View;
check-cast v9, Lim/tpelyyftgw/ui/components/TextSwitchCell;
.line 620
.local v9, "checkCell":Lim/tpelyyftgw/ui/components/TextSwitchCell;
iget-boolean v10, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->customEnabled:Z
if-eqz v10, :cond_51
iget-boolean v10, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->notificationsEnabled:Z
if-eqz v10, :cond_51
const/4 v7, 0x1
:cond_51
invoke-virtual {v9, v7, v1}, Lim/tpelyyftgw/ui/components/TextSwitchCell;->setEnabled(ZLjava/util/ArrayList;)V
goto :goto_98
.line 613
.end local v9 # "checkCell":Lim/tpelyyftgw/ui/components/TextSwitchCell;
:cond_55
iget-object v9, v4, Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;->itemView:Landroid/view/View;
check-cast v9, Lim/tpelyyftgw/ui/components/TextCheckBoxCell2;
.line 614
.local v9, "radioCell":Lim/tpelyyftgw/ui/components/TextCheckBoxCell2;
iget-boolean v10, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->customEnabled:Z
if-eqz v10, :cond_62
iget-boolean v10, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->notificationsEnabled:Z
if-eqz v10, :cond_62
const/4 v7, 0x1
:cond_62
invoke-virtual {v9, v7, v1}, Lim/tpelyyftgw/ui/components/TextCheckBoxCell2;->setEnabled(ZLjava/util/ArrayList;)V
.line 615
goto :goto_98
.line 608
.end local v9 # "radioCell":Lim/tpelyyftgw/ui/components/TextCheckBoxCell2;
:cond_66
iget-object v9, v4, Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;->itemView:Landroid/view/View;
check-cast v9, Lim/tpelyyftgw/ui/cells/TextColorCell;
.line 609
.local v9, "textCell":Lim/tpelyyftgw/ui/cells/TextColorCell;
iget-boolean v10, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->customEnabled:Z
if-eqz v10, :cond_73
iget-boolean v10, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->notificationsEnabled:Z
if-eqz v10, :cond_73
const/4 v7, 0x1
:cond_73
invoke-virtual {v9, v7, v1}, Lim/tpelyyftgw/ui/cells/TextColorCell;->setEnabled(ZLjava/util/ArrayList;)V
.line 610
goto :goto_98
.line 603
.end local v9 # "textCell":Lim/tpelyyftgw/ui/cells/TextColorCell;
:cond_77
iget-object v9, v4, Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;->itemView:Landroid/view/View;
check-cast v9, Lim/tpelyyftgw/ui/cells/TextInfoPrivacyCell;
.line 604
.local v9, "textCell":Lim/tpelyyftgw/ui/cells/TextInfoPrivacyCell;
iget-boolean v10, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->customEnabled:Z
if-eqz v10, :cond_84
iget-boolean v10, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->notificationsEnabled:Z
if-eqz v10, :cond_84
const/4 v7, 0x1
:cond_84
invoke-virtual {v9, v7, v1}, Lim/tpelyyftgw/ui/cells/TextInfoPrivacyCell;->setEnabled(ZLjava/util/ArrayList;)V
.line 605
goto :goto_98
.line 598
.end local v9 # "textCell":Lim/tpelyyftgw/ui/cells/TextInfoPrivacyCell;
:cond_88
iget-object v9, v4, Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;->itemView:Landroid/view/View;
check-cast v9, Lim/tpelyyftgw/ui/components/TextCell;
.line 599
.local v9, "textCell":Lim/tpelyyftgw/ui/components/TextCell;
iget-boolean v10, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->customEnabled:Z
if-eqz v10, :cond_95
iget-boolean v10, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->notificationsEnabled:Z
if-eqz v10, :cond_95
const/4 v7, 0x1
:cond_95
invoke-virtual {v9, v7, v1}, Lim/tpelyyftgw/ui/components/TextCell;->setEnabled(ZLjava/util/ArrayList;)V
.line 590
.end local v3 # "child":Landroid/view/View;
.end local v4 # "holder":Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;
.end local v5 # "type":I
.end local v6 # "position":I
.end local v9 # "textCell":Lim/tpelyyftgw/ui/components/TextCell;
:cond_98
:goto_98
add-int/lit8 v2, v2, 0x1
goto/16 :goto_c
.line 627
.end local v2 # "a":I
:cond_9c
invoke-virtual {v1}, Ljava/util/ArrayList;->isEmpty()Z
move-result v2
if-nez v2, :cond_c9
.line 628
iget-object v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->animatorSet:Landroid/animation/AnimatorSet;
if-eqz v2, :cond_a9
.line 629
invoke-virtual {v2}, Landroid/animation/AnimatorSet;->cancel()V
.line 631
:cond_a9
new-instance v2, Landroid/animation/AnimatorSet;
invoke-direct {v2}, Landroid/animation/AnimatorSet;-><init>()V
iput-object v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->animatorSet:Landroid/animation/AnimatorSet;
.line 632
invoke-virtual {v2, v1}, Landroid/animation/AnimatorSet;->playTogether(Ljava/util/Collection;)V
.line 633
iget-object v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->animatorSet:Landroid/animation/AnimatorSet;
new-instance v3, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$4;
invoke-direct {v3, p0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$4;-><init>(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)V
invoke-virtual {v2, v3}, Landroid/animation/AnimatorSet;->addListener(Landroid/animation/Animator$AnimatorListener;)V
.line 641
iget-object v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->animatorSet:Landroid/animation/AnimatorSet;
const-wide/16 v3, 0x96
invoke-virtual {v2, v3, v4}, Landroid/animation/AnimatorSet;->setDuration(J)Landroid/animation/AnimatorSet;
.line 642
iget-object v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->animatorSet:Landroid/animation/AnimatorSet;
invoke-virtual {v2}, Landroid/animation/AnimatorSet;->start()V
.line 644
:cond_c9
return-void
.end method
# virtual methods
.method public createView(Landroid/content/Context;)Landroid/view/View;
.registers 12
.param p1, "context" # Landroid/content/Context;
.line 221
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;
const v1, 0x7f0d0073
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->setBackButtonImage(I)V
.line 222
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;
const/4 v1, 0x1
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->setAllowOverlayTitle(Z)V
.line 223
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;
const/4 v2, 0x0
invoke-virtual {v0, v2}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->setCastShadows(Z)V
.line 224
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;
new-instance v2, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$1;
invoke-direct {v2, p0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$1;-><init>(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)V
invoke-virtual {v0, v2}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->setActionBarMenuOnItemClick(Lim/tpelyyftgw/ui/actionbar/ActionBar$ActionBarMenuOnItemClick;)V
.line 271
iget-boolean v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->addingException:Z
if-eqz v0, :cond_47
.line 272
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;
const v2, 0x7f0f0a36
const-string v3, "NotificationsNewException"
invoke-static {v3, v2}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v2
invoke-virtual {v0, v2}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->setTitle(Ljava/lang/CharSequence;)V
.line 273
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->createMenu()Lim/tpelyyftgw/ui/actionbar/ActionBarMenu;
move-result-object v0
const v2, 0x7f0f054f
const-string v3, "Done"
invoke-static {v3, v2}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;
move-result-object v2
invoke-virtual {v0, v1, v2}, Lim/tpelyyftgw/ui/actionbar/ActionBarMenu;->addItem(ILjava/lang/CharSequence;)Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;
goto :goto_55
.line 275
:cond_47
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;
const v1, 0x7f0f04a8
const-string v2, "CustomNotifications"
invoke-static {v2, v1}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->setTitle(Ljava/lang/CharSequence;)V
.line 278
:goto_55
new-instance v0, Landroid/widget/FrameLayout;
invoke-direct {v0, p1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V
iput-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->fragmentView:Landroid/view/View;
.line 279
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->fragmentView:Landroid/view/View;
check-cast v0, Landroid/widget/FrameLayout;
.line 280
.local v0, "frameLayout":Landroid/widget/FrameLayout;
const v1, 0x7f060186
invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setBackgroundResource(I)V
.line 282
new-instance v1, Lim/tpelyyftgw/ui/components/RecyclerListView;
invoke-direct {v1, p1}, Lim/tpelyyftgw/ui/components/RecyclerListView;-><init>(Landroid/content/Context;)V
iput-object v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;
.line 283
const/4 v2, -0x1
const/4 v3, -0x1
const/high16 v4, 0x41800000 # 16.0f
invoke-static {v4}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v5
.line 284
const/high16 v6, 0x41400000 # 12.0f
invoke-static {v6}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v7
invoke-static {v4}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v8
invoke-static {v6}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v9
.line 283
move v4, v5
move v5, v7
move v6, v8
move v7, v9
invoke-static/range {v2 .. v7}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(IIIIII)Landroid/widget/FrameLayout$LayoutParams;
move-result-object v2
invoke-virtual {v0, v1, v2}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
.line 285
iget-object v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;
new-instance v2, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
invoke-direct {v2, p0, p1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;-><init>(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;Landroid/content/Context;)V
iput-object v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->adapter:Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V
.line 286
iget-object v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;
const/4 v2, 0x0
invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setItemAnimator(Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;)V
.line 287
iget-object v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;
invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setLayoutAnimation(Landroid/view/animation/LayoutAnimationController;)V
.line 288
iget-object v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;
new-instance v2, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$2;
invoke-direct {v2, p0, p1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$2;-><init>(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;Landroid/content/Context;)V
invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setLayoutManager(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)V
.line 294
iget-object v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;
new-instance v2, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;
invoke-direct {v2, p0, p1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;-><init>(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;Landroid/content/Context;)V
invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setOnItemClickListener(Lim/tpelyyftgw/ui/components/RecyclerListView$OnItemClickListener;)V
.line 518
iget-object v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->fragmentView:Landroid/view/View;
return-object v1
.end method
.method public varargs didReceivedNotification(II[Ljava/lang/Object;)V
.registers 5
.param p1, "id" # I
.param p2, "account" # I
.param p3, "args" # [Ljava/lang/Object;
.line 578
sget v0, Lim/tpelyyftgw/messenger/NotificationCenter;->notificationsSettingsUpdated:I
if-ne p1, v0, :cond_9
.line 579
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->adapter:Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;->notifyDataSetChanged()V
.line 581
:cond_9
return-void
.end method
.method public onActivityResultFragment(IILandroid/content/Intent;)V
.registers 15
.param p1, "requestCode" # I
.param p2, "resultCode" # I
.param p3, "data" # Landroid/content/Intent;
.line 523
const/4 v0, -0x1
if-ne p2, v0, :cond_134
.line 524
if-nez p3, :cond_6
.line 525
return-void
.line 527
:cond_6
const-string v0, "android.intent.extra.ringtone.PICKED_URI"
invoke-virtual {p3, v0}, Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;
move-result-object v0
check-cast v0, Landroid/net/Uri;
.line 528
.local v0, "ringtone":Landroid/net/Uri;
const/4 v1, 0x0
.line 529
.local v1, "name":Ljava/lang/String;
const/16 v2, 0xd
if-eqz v0, :cond_55
.line 530
sget-object v3, Lim/tpelyyftgw/messenger/ApplicationLoader;->applicationContext:Landroid/content/Context;
invoke-static {v3, v0}, Landroid/media/RingtoneManager;->getRingtone(Landroid/content/Context;Landroid/net/Uri;)Landroid/media/Ringtone;
move-result-object v3
.line 531
.local v3, "rng":Landroid/media/Ringtone;
if-eqz v3, :cond_55
.line 532
if-ne p1, v2, :cond_38
.line 533
sget-object v4, Landroid/provider/Settings$System;->DEFAULT_RINGTONE_URI:Landroid/net/Uri;
invoke-virtual {v0, v4}, Landroid/net/Uri;->equals(Ljava/lang/Object;)Z
move-result v4
if-eqz v4, :cond_2f
.line 534
const v4, 0x7f0f04d7
const-string v5, "DefaultRingtone"
invoke-static {v5, v4}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v1
goto :goto_52
.line 536
:cond_2f
invoke-virtual {p0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object v4
invoke-virtual {v3, v4}, Landroid/media/Ringtone;->getTitle(Landroid/content/Context;)Ljava/lang/String;
move-result-object v1
goto :goto_52
.line 539
:cond_38
sget-object v4, Landroid/provider/Settings$System;->DEFAULT_NOTIFICATION_URI:Landroid/net/Uri;
invoke-virtual {v0, v4}, Landroid/net/Uri;->equals(Ljava/lang/Object;)Z
move-result v4
if-eqz v4, :cond_4a
.line 540
const v4, 0x7f0f0feb
const-string v5, "SoundDefault"
invoke-static {v5, v4}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v1
goto :goto_52
.line 542
:cond_4a
invoke-virtual {p0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object v4
invoke-virtual {v3, v4}, Landroid/media/Ringtone;->getTitle(Landroid/content/Context;)Ljava/lang/String;
move-result-object v1
.line 545
:goto_52
invoke-virtual {v3}, Landroid/media/Ringtone;->stop()V
.line 549
.end local v3 # "rng":Landroid/media/Ringtone;
:cond_55
iget v3, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
invoke-static {v3}, Lim/tpelyyftgw/messenger/MessagesController;->getNotificationsSettings(I)Landroid/content/SharedPreferences;
move-result-object v3
.line 550
.local v3, "preferences":Landroid/content/SharedPreferences;
invoke-interface {v3}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v4
.line 552
.local v4, "editor":Landroid/content/SharedPreferences$Editor;
const/16 v5, 0xc
const-string v6, "NoSound"
if-ne p1, v5, :cond_c4
.line 553
const-string/jumbo v5, "sound_path_"
const-string/jumbo v7, "sound_"
if-eqz v1, :cond_9b
.line 554
new-instance v6, Ljava/lang/StringBuilder;
invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v7, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-virtual {v6, v7, v8}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v6
invoke-interface {v4, v6, v1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
.line 555
new-instance v6, Ljava/lang/StringBuilder;
invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v6, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v7, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-virtual {v6, v7, v8}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v5
invoke-virtual {v0}, Landroid/net/Uri;->toString()Ljava/lang/String;
move-result-object v6
invoke-interface {v4, v5, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
goto/16 :goto_123
.line 557
:cond_9b
new-instance v8, Ljava/lang/StringBuilder;
invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v8, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v9, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-virtual {v8, v9, v10}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v7
invoke-interface {v4, v7, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
.line 558
new-instance v7, Ljava/lang/StringBuilder;
invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v7, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v8, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-virtual {v7, v8, v9}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v5
invoke-interface {v4, v5, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
goto :goto_123
.line 560
:cond_c4
if-ne p1, v2, :cond_123
.line 561
const-string/jumbo v5, "ringtone_path_"
const-string/jumbo v7, "ringtone_"
if-eqz v1, :cond_fb
.line 562
new-instance v6, Ljava/lang/StringBuilder;
invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v7, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-virtual {v6, v7, v8}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v6
invoke-interface {v4, v6, v1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
.line 563
new-instance v6, Ljava/lang/StringBuilder;
invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v6, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v7, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-virtual {v6, v7, v8}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v5
invoke-virtual {v0}, Landroid/net/Uri;->toString()Ljava/lang/String;
move-result-object v6
invoke-interface {v4, v5, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
goto :goto_123
.line 565
:cond_fb
new-instance v8, Ljava/lang/StringBuilder;
invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v8, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v9, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-virtual {v8, v9, v10}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v7
invoke-interface {v4, v7, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
.line 566
new-instance v7, Ljava/lang/StringBuilder;
invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v7, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v8, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-virtual {v7, v8, v9}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v5
invoke-interface {v4, v5, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
.line 569
:cond_123
:goto_123
invoke-interface {v4}, Landroid/content/SharedPreferences$Editor;->commit()Z
.line 570
iget-object v5, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->adapter:Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
if-eqz v5, :cond_134
.line 571
if-ne p1, v2, :cond_12f
iget v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->ringtoneRow:I
goto :goto_131
:cond_12f
iget v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->soundRow:I
:goto_131
invoke-virtual {v5, v2}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;->notifyItemChanged(I)V
.line 574
.end local v0 # "ringtone":Landroid/net/Uri;
.end local v1 # "name":Ljava/lang/String;
.end local v3 # "preferences":Landroid/content/SharedPreferences;
.end local v4 # "editor":Landroid/content/SharedPreferences$Editor;
:cond_134
return-void
.end method
.method public onFragmentCreate()Z
.registers 11
.line 118
const/4 v0, 0x0
iput v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
.line 119
iget-boolean v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->addingException:Z
const/4 v2, -0x1
const/4 v3, 0x1
if-eqz v1, :cond_1a
.line 120
const/4 v1, 0x0
add-int/2addr v1, v3
iput v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
iput v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->avatarRow:I
.line 121
add-int/lit8 v4, v1, 0x1
iput v4, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
iput v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->avatarSectionRow:I
.line 122
iput v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->customRow:I
.line 123
iput v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->customInfoRow:I
goto :goto_2a
.line 125
:cond_1a
iput v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->avatarRow:I
.line 126
iput v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->avatarSectionRow:I
.line 127
const/4 v1, 0x0
add-int/2addr v1, v3
iput v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
iput v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->customRow:I
.line 128
add-int/lit8 v4, v1, 0x1
iput v4, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
iput v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->customInfoRow:I
.line 130
:goto_2a
iget v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
add-int/lit8 v4, v1, 0x1
iput v4, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
iput v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->generalRow:I
.line 131
iget-boolean v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->addingException:Z
if-eqz v1, :cond_3d
.line 132
add-int/lit8 v1, v4, 0x1
iput v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
iput v4, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->enableRow:I
goto :goto_3f
.line 134
:cond_3d
iput v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->enableRow:I
.line 136
:goto_3f
iget-wide v4, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
long-to-int v1, v4
if-eqz v1, :cond_4d
.line 137
iget v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
add-int/lit8 v4, v1, 0x1
iput v4, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
iput v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->previewRow:I
goto :goto_4f
.line 139
:cond_4d
iput v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->previewRow:I
.line 141
:goto_4f
iget v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
add-int/lit8 v4, v1, 0x1
iput v4, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
iput v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->soundRow:I
.line 142
add-int/lit8 v1, v4, 0x1
iput v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
iput v4, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->vibrateRow:I
.line 143
iget-wide v4, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
long-to-int v5, v4
if-gez v5, :cond_69
.line 144
add-int/lit8 v4, v1, 0x1
iput v4, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
iput v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->smartRow:I
goto :goto_6b
.line 146
:cond_69
iput v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->smartRow:I
.line 148
:goto_6b
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v4, 0x15
if-lt v1, v4, :cond_7a
.line 149
iget v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
add-int/lit8 v4, v1, 0x1
iput v4, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
iput v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->priorityRow:I
goto :goto_7c
.line 151
:cond_7a
iput v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->priorityRow:I
.line 153
:goto_7c
iget v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
add-int/lit8 v4, v1, 0x1
iput v4, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
iput v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->priorityInfoRow:I
.line 155
iget-wide v4, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
long-to-int v1, v4
.line 156
.local v1, "lower_id":I
if-gez v1, :cond_a7
.line 157
iget v4, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
invoke-static {v4}, Lim/tpelyyftgw/messenger/MessagesController;->getInstance(I)Lim/tpelyyftgw/messenger/MessagesController;
move-result-object v4
neg-int v5, v1
invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v5
invoke-virtual {v4, v5}, Lim/tpelyyftgw/messenger/MessagesController;->getChat(Ljava/lang/Integer;)Lim/tpelyyftgw/tgnet/TLRPC$Chat;
move-result-object v4
.line 158
.local v4, "chat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
invoke-static {v4}, Lim/tpelyyftgw/messenger/ChatObject;->isChannel(Lim/tpelyyftgw/tgnet/TLRPC$Chat;)Z
move-result v5
if-eqz v5, :cond_a4
iget-boolean v5, v4, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->megagroup:Z
if-nez v5, :cond_a4
const/4 v5, 0x1
goto :goto_a5
:cond_a4
const/4 v5, 0x0
:goto_a5
move v4, v5
.line 159
.local v4, "isChannel":Z
goto :goto_a8
.line 160
.end local v4 # "isChannel":Z
:cond_a7
const/4 v4, 0x0
.line 162
.restart local v4 # "isChannel":Z
:goto_a8
if-eqz v1, :cond_c7
if-nez v4, :cond_c7
.line 163
iget v5, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
add-int/lit8 v6, v5, 0x1
iput v6, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
iput v5, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->popupRow:I
.line 164
add-int/lit8 v5, v6, 0x1
iput v5, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
iput v6, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->popupEnabledRow:I
.line 165
add-int/lit8 v6, v5, 0x1
iput v6, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
iput v5, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->popupDisabledRow:I
.line 166
add-int/lit8 v5, v6, 0x1
iput v5, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
iput v6, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->popupInfoRow:I
goto :goto_cf
.line 168
:cond_c7
iput v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->popupRow:I
.line 169
iput v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->popupEnabledRow:I
.line 170
iput v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->popupDisabledRow:I
.line 171
iput v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->popupInfoRow:I
.line 174
:goto_cf
if-lez v1, :cond_ec
.line 175
iget v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
add-int/lit8 v5, v2, 0x1
iput v5, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
iput v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->callsRow:I
.line 176
add-int/lit8 v2, v5, 0x1
iput v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
iput v5, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->callsVibrateRow:I
.line 177
add-int/lit8 v5, v2, 0x1
iput v5, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
iput v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->ringtoneRow:I
.line 178
add-int/lit8 v2, v5, 0x1
iput v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
iput v5, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->ringtoneInfoRow:I
goto :goto_f4
.line 180
:cond_ec
iput v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->callsRow:I
.line 181
iput v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->callsVibrateRow:I
.line 182
iput v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->ringtoneRow:I
.line 183
iput v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->ringtoneInfoRow:I
.line 186
:goto_f4
iget v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
add-int/lit8 v5, v2, 0x1
iput v5, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
iput v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->ledRow:I
.line 187
add-int/lit8 v2, v5, 0x1
iput v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
iput v5, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->colorRow:I
.line 188
add-int/lit8 v5, v2, 0x1
iput v5, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->rowCount:I
iput v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->ledInfoRow:I
.line 190
iget v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
invoke-static {v2}, Lim/tpelyyftgw/messenger/MessagesController;->getNotificationsSettings(I)Landroid/content/SharedPreferences;
move-result-object v2
.line 191
.local v2, "preferences":Landroid/content/SharedPreferences;
new-instance v5, Ljava/lang/StringBuilder;
invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
const-string v6, "custom_"
invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v6, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-virtual {v5, v6, v7}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v5
invoke-interface {v2, v5, v0}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z
move-result v5
if-nez v5, :cond_12e
iget-boolean v5, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->addingException:Z
if-eqz v5, :cond_12c
goto :goto_12e
:cond_12c
const/4 v5, 0x0
goto :goto_12f
:cond_12e
:goto_12e
const/4 v5, 0x1
:goto_12f
iput-boolean v5, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->customEnabled:Z
.line 193
new-instance v5, Ljava/lang/StringBuilder;
invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
const-string v6, "notify2_"
invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v7, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-virtual {v5, v7, v8}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v5
invoke-interface {v2, v5}, Landroid/content/SharedPreferences;->contains(Ljava/lang/String;)Z
move-result v5
.line 194
.local v5, "hasOverride":Z
new-instance v7, Ljava/lang/StringBuilder;
invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v7, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v8, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-virtual {v7, v8, v9}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v6
invoke-interface {v2, v6, v0}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I
move-result v6
.line 195
.local v6, "value":I
if-nez v6, :cond_173
.line 196
if-eqz v5, :cond_164
.line 197
iput-boolean v3, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->notificationsEnabled:Z
goto :goto_180
.line 199
:cond_164
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
invoke-static {v0}, Lim/tpelyyftgw/messenger/NotificationsController;->getInstance(I)Lim/tpelyyftgw/messenger/NotificationsController;
move-result-object v0
iget-wide v7, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-virtual {v0, v7, v8}, Lim/tpelyyftgw/messenger/NotificationsController;->isGlobalNotificationsEnabled(J)Z
move-result v0
iput-boolean v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->notificationsEnabled:Z
goto :goto_180
.line 201
:cond_173
if-ne v6, v3, :cond_178
.line 202
iput-boolean v3, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->notificationsEnabled:Z
goto :goto_180
.line 203
:cond_178
const/4 v3, 0x2
if-ne v6, v3, :cond_17e
.line 204
iput-boolean v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->notificationsEnabled:Z
goto :goto_180
.line 206
:cond_17e
iput-boolean v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->notificationsEnabled:Z
.line 209
:goto_180
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
invoke-static {v0}, Lim/tpelyyftgw/messenger/NotificationCenter;->getInstance(I)Lim/tpelyyftgw/messenger/NotificationCenter;
move-result-object v0
sget v3, Lim/tpelyyftgw/messenger/NotificationCenter;->notificationsSettingsUpdated:I
invoke-virtual {v0, p0, v3}, Lim/tpelyyftgw/messenger/NotificationCenter;->addObserver(Ljava/lang/Object;I)V
.line 210
invoke-super {p0}, Lim/tpelyyftgw/ui/actionbar/BaseFragment;->onFragmentCreate()Z
move-result v0
return v0
.end method
.method public onFragmentDestroy()V
.registers 3
.line 215
invoke-super {p0}, Lim/tpelyyftgw/ui/actionbar/BaseFragment;->onFragmentDestroy()V
.line 216
iget v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
invoke-static {v0}, Lim/tpelyyftgw/messenger/NotificationCenter;->getInstance(I)Lim/tpelyyftgw/messenger/NotificationCenter;
move-result-object v0
sget v1, Lim/tpelyyftgw/messenger/NotificationCenter;->notificationsSettingsUpdated:I
invoke-virtual {v0, p0, v1}, Lim/tpelyyftgw/messenger/NotificationCenter;->removeObserver(Ljava/lang/Object;I)V
.line 217
return-void
.end method
.method public setDelegate(Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ProfileNotificationsActivityDelegate;)V
.registers 2
.param p1, "profileNotificationsActivityDelegate" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ProfileNotificationsActivityDelegate;
.line 584
iput-object p1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->delegate:Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ProfileNotificationsActivityDelegate;
.line 585
return-void
.end method