ProfileNotificationsActivity$3.smali
.class Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;
.super Ljava/lang/Object;
.source "ProfileNotificationsActivity.java"
# interfaces
.implements Lim/tpelyyftgw/ui/components/RecyclerListView$OnItemClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->createView(Landroid/content/Context;)Landroid/view/View;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.field final synthetic val$context:Landroid/content/Context;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;Landroid/content/Context;)V
.registers 3
.param p1, "this$0" # Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
.line 294
iput-object p1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
iput-object p2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->val$context:Landroid/content/Context;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public synthetic lambda$onItemClick$0$ProfileNotificationsActivity$3()V
.registers 3
.line 370
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->adapter:Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$3300(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
move-result-object v0
if-eqz v0, :cond_17
.line 371
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->adapter:Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$3300(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
move-result-object v0
iget-object v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->vibrateRow:I
invoke-static {v1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$1900(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v1
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;->notifyItemChanged(I)V
.line 373
:cond_17
return-void
.end method
.method public synthetic lambda$onItemClick$1$ProfileNotificationsActivity$3()V
.registers 3
.line 393
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->adapter:Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$3300(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
move-result-object v0
if-eqz v0, :cond_17
.line 394
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->adapter:Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$3300(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
move-result-object v0
iget-object v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->callsVibrateRow:I
invoke-static {v1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$2300(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v1
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;->notifyItemChanged(I)V
.line 396
:cond_17
return-void
.end method
.method public synthetic lambda$onItemClick$2$ProfileNotificationsActivity$3()V
.registers 3
.line 399
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->adapter:Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$3300(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
move-result-object v0
if-eqz v0, :cond_17
.line 400
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->adapter:Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$3300(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
move-result-object v0
iget-object v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->priorityRow:I
invoke-static {v1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$2400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v1
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;->notifyItemChanged(I)V
.line 402
:cond_17
return-void
.end method
.method public synthetic lambda$onItemClick$3$ProfileNotificationsActivity$3(Landroid/view/View;I)V
.registers 10
.param p1, "view1" # Landroid/view/View;
.param p2, "position1" # I
.line 461
if-ltz p2, :cond_7e
const/16 v0, 0x64
if-lt p2, v0, :cond_7
goto :goto_7e
.line 464
:cond_7
rem-int/lit8 v0, p2, 0xa
add-int/lit8 v0, v0, 0x1
.line 465
.local v0, "notifyMaxCount1":I
div-int/lit8 v1, p2, 0xa
add-int/lit8 v1, v1, 0x1
.line 466
.local v1, "notifyDelay1":I
iget-object v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
invoke-static {v2}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$3500(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v2
invoke-static {v2}, Lim/tpelyyftgw/messenger/MessagesController;->getNotificationsSettings(I)Landroid/content/SharedPreferences;
move-result-object v2
.line 467
.local v2, "preferences1":Landroid/content/SharedPreferences;
invoke-interface {v2}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v3
new-instance v4, Ljava/lang/StringBuilder;
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
const-string/jumbo v5, "smart_max_count_"
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v5, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-static {v5}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)J
move-result-wide v5
invoke-virtual {v4, v5, v6}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v4
invoke-interface {v3, v4, v0}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;
move-result-object v3
invoke-interface {v3}, Landroid/content/SharedPreferences$Editor;->commit()Z
.line 468
invoke-interface {v2}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v3
new-instance v4, Ljava/lang/StringBuilder;
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
const-string/jumbo v5, "smart_delay_"
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v5, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-static {v5}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)J
move-result-wide v5
invoke-virtual {v4, v5, v6}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v4
mul-int/lit8 v5, v1, 0x3c
invoke-interface {v3, v4, v5}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;
move-result-object v3
invoke-interface {v3}, Landroid/content/SharedPreferences$Editor;->commit()Z
.line 469
iget-object v3, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->adapter:Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
invoke-static {v3}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$3300(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
move-result-object v3
if-eqz v3, :cond_78
.line 470
iget-object v3, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->adapter:Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
invoke-static {v3}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$3300(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
move-result-object v3
iget-object v4, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->smartRow:I
invoke-static {v4}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$2500(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v4
invoke-virtual {v3, v4}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;->notifyItemChanged(I)V
.line 472
:cond_78
iget-object v3, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
invoke-virtual {v3}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dismissCurrentDialog()V
.line 473
return-void
.line 462
.end local v0 # "notifyMaxCount1":I
.end local v1 # "notifyDelay1":I
.end local v2 # "preferences1":Landroid/content/SharedPreferences;
:cond_7e
:goto_7e
return-void
.end method
.method public synthetic lambda$onItemClick$4$ProfileNotificationsActivity$3(Landroid/content/DialogInterface;I)V
.registers 8
.param p1, "dialog" # Landroid/content/DialogInterface;
.param p2, "which" # I
.line 480
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$3400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v0
invoke-static {v0}, Lim/tpelyyftgw/messenger/MessagesController;->getNotificationsSettings(I)Landroid/content/SharedPreferences;
move-result-object v0
.line 481
.local v0, "preferences12":Landroid/content/SharedPreferences;
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v1
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string/jumbo v3, "smart_max_count_"
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v3, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-static {v3}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)J
move-result-wide v3
invoke-virtual {v2, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
const/4 v3, 0x0
invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;
move-result-object v1
invoke-interface {v1}, Landroid/content/SharedPreferences$Editor;->commit()Z
.line 482
iget-object v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->adapter:Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
invoke-static {v1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$3300(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
move-result-object v1
if-eqz v1, :cond_45
.line 483
iget-object v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->adapter:Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
invoke-static {v1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$3300(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
move-result-object v1
iget-object v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->smartRow:I
invoke-static {v2}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$2500(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v2
invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;->notifyItemChanged(I)V
.line 485
:cond_45
iget-object v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
invoke-virtual {v1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dismissCurrentDialog()V
.line 486
return-void
.end method
.method public synthetic lambda$onItemClick$5$ProfileNotificationsActivity$3()V
.registers 3
.line 493
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->adapter:Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$3300(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
move-result-object v0
if-eqz v0, :cond_17
.line 494
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->adapter:Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$3300(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;
move-result-object v0
iget-object v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->colorRow:I
invoke-static {v1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$2700(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v1
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ListAdapter;->notifyItemChanged(I)V
.line 496
:cond_17
return-void
.end method
.method public onItemClick(Landroid/view/View;I)V
.registers 13
.param p1, "view" # Landroid/view/View;
.param p2, "position" # I
.line 297
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->customRow:I
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$1200(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v0
const/4 v1, 0x1
if-ne p2, v0, :cond_65
instance-of v0, p1, Lim/tpelyyftgw/ui/components/TextCheckBoxCell2;
if-eqz v0, :cond_65
.line 298
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$1300(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v0
invoke-static {v0}, Lim/tpelyyftgw/messenger/MessagesController;->getNotificationsSettings(I)Landroid/content/SharedPreferences;
move-result-object v0
.line 299
.local v0, "preferences":Landroid/content/SharedPreferences;
iget-object v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->customEnabled:Z
invoke-static {v2}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$200(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Z
move-result v3
xor-int/2addr v1, v3
# setter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->customEnabled:Z
invoke-static {v2, v1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$202(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;Z)Z
.line 300
iget-object v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->customEnabled:Z
invoke-static {v1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$200(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Z
move-result v2
# setter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->notificationsEnabled:Z
invoke-static {v1, v2}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$102(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;Z)Z
.line 301
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v1
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "custom_"
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v3, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-static {v3}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)J
move-result-wide v3
invoke-virtual {v2, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
iget-object v3, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->customEnabled:Z
invoke-static {v3}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$200(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Z
move-result v3
invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;
move-result-object v1
invoke-interface {v1}, Landroid/content/SharedPreferences$Editor;->commit()Z
.line 302
move-object v1, p1
check-cast v1, Lim/tpelyyftgw/ui/components/TextCheckBoxCell2;
.line 303
.local v1, "cell":Lim/tpelyyftgw/ui/components/TextCheckBoxCell2;
iget-object v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->customEnabled:Z
invoke-static {v2}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$200(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Z
move-result v2
invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/TextCheckBoxCell2;->setChecked(Z)V
.line 304
iget-object v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# invokes: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->checkRowsEnabled()V
invoke-static {v2}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$1400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)V
.end local v0 # "preferences":Landroid/content/SharedPreferences;
.end local v1 # "cell":Lim/tpelyyftgw/ui/components/TextCheckBoxCell2;
goto/16 :goto_3f3
.line 305
:cond_65
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->customEnabled:Z
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$200(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Z
move-result v0
if-eqz v0, :cond_3f3
.line 306
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->soundRow:I
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$1500(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v0
const-string v2, "NoSound"
const-string v3, "android.intent.extra.ringtone.EXISTING_URI"
const-string v4, "android.intent.extra.ringtone.DEFAULT_URI"
const-string v5, "android.intent.extra.ringtone.SHOW_SILENT"
const-string v6, "android.intent.extra.ringtone.SHOW_DEFAULT"
const-string v7, "android.intent.extra.ringtone.TYPE"
const-string v8, "android.intent.action.RINGTONE_PICKER"
const/4 v9, 0x2
if-ne p2, v0, :cond_f0
.line 310
:try_start_84
new-instance v0, Landroid/content/Intent;
invoke-direct {v0, v8}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
.line 311
.local v0, "tmpIntent":Landroid/content/Intent;
invoke-virtual {v0, v7, v9}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;
.line 312
invoke-virtual {v0, v6, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
.line 313
invoke-virtual {v0, v5, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
.line 314
invoke-static {v9}, Landroid/media/RingtoneManager;->getDefaultUri(I)Landroid/net/Uri;
move-result-object v1
invoke-virtual {v0, v4, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;
.line 315
iget-object v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
invoke-static {v1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$1600(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v1
invoke-static {v1}, Lim/tpelyyftgw/messenger/MessagesController;->getNotificationsSettings(I)Landroid/content/SharedPreferences;
move-result-object v1
.line 316
.local v1, "preferences":Landroid/content/SharedPreferences;
const/4 v4, 0x0
.line 318
.local v4, "currentSound":Landroid/net/Uri;
const/4 v5, 0x0
.line 319
.local v5, "defaultPath":Ljava/lang/String;
sget-object v6, Landroid/provider/Settings$System;->DEFAULT_NOTIFICATION_URI:Landroid/net/Uri;
.line 320
.local v6, "defaultUri":Landroid/net/Uri;
if-eqz v6, :cond_ae
.line 321
invoke-virtual {v6}, Landroid/net/Uri;->getPath()Ljava/lang/String;
move-result-object v7
move-object v5, v7
.line 324
:cond_ae
new-instance v7, Ljava/lang/StringBuilder;
invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V
const-string/jumbo v8, "sound_path_"
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v8, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-static {v8}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)J
move-result-wide v8
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 v7
invoke-interface {v1, v7, v5}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v7
.line 325
.local v7, "path":Ljava/lang/String;
if-eqz v7, :cond_df
invoke-virtual {v7, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_df
.line 326
invoke-virtual {v7, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_da
.line 327
move-object v4, v6
goto :goto_df
.line 329
:cond_da
invoke-static {v7}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
move-result-object v2
move-object v4, v2
.line 333
:cond_df
:goto_df
invoke-virtual {v0, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;
.line 334
iget-object v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
const/16 v3, 0xc
invoke-virtual {v2, v0, v3}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->startActivityForResult(Landroid/content/Intent;I)V
:try_end_e9
.catch Ljava/lang/Exception; {:try_start_84 .. :try_end_e9} :catch_ea
.end local v0 # "tmpIntent":Landroid/content/Intent;
.end local v1 # "preferences":Landroid/content/SharedPreferences;
.end local v4 # "currentSound":Landroid/net/Uri;
.end local v5 # "defaultPath":Ljava/lang/String;
.end local v6 # "defaultUri":Landroid/net/Uri;
.end local v7 # "path":Ljava/lang/String;
goto :goto_ee
.line 335
:catch_ea
move-exception v0
.line 336
.local v0, "e":Ljava/lang/Exception;
invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 337
.end local v0 # "e":Ljava/lang/Exception;
:goto_ee
goto/16 :goto_3f4
.line 338
:cond_f0
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->ringtoneRow:I
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$1700(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v0
if-ne p2, v0, :cond_164
.line 340
:try_start_f8
new-instance v0, Landroid/content/Intent;
invoke-direct {v0, v8}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
.line 341
.local v0, "tmpIntent":Landroid/content/Intent;
invoke-virtual {v0, v7, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;
.line 342
invoke-virtual {v0, v6, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
.line 343
invoke-virtual {v0, v5, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
.line 344
invoke-static {v1}, Landroid/media/RingtoneManager;->getDefaultUri(I)Landroid/net/Uri;
move-result-object v1
invoke-virtual {v0, v4, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;
.line 345
iget-object v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
invoke-static {v1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$1800(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v1
invoke-static {v1}, Lim/tpelyyftgw/messenger/MessagesController;->getNotificationsSettings(I)Landroid/content/SharedPreferences;
move-result-object v1
.line 346
.restart local v1 # "preferences":Landroid/content/SharedPreferences;
const/4 v4, 0x0
.line 348
.restart local v4 # "currentSound":Landroid/net/Uri;
const/4 v5, 0x0
.line 349
.restart local v5 # "defaultPath":Ljava/lang/String;
sget-object v6, Landroid/provider/Settings$System;->DEFAULT_NOTIFICATION_URI:Landroid/net/Uri;
.line 350
.restart local v6 # "defaultUri":Landroid/net/Uri;
if-eqz v6, :cond_122
.line 351
invoke-virtual {v6}, Landroid/net/Uri;->getPath()Ljava/lang/String;
move-result-object v7
move-object v5, v7
.line 354
:cond_122
new-instance v7, Ljava/lang/StringBuilder;
invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V
const-string/jumbo v8, "ringtone_path_"
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v8, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-static {v8}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)J
move-result-wide v8
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 v7
invoke-interface {v1, v7, v5}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v7
.line 355
.restart local v7 # "path":Ljava/lang/String;
if-eqz v7, :cond_153
invoke-virtual {v7, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_153
.line 356
invoke-virtual {v7, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_14e
.line 357
move-object v4, v6
goto :goto_153
.line 359
:cond_14e
invoke-static {v7}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
move-result-object v2
move-object v4, v2
.line 363
:cond_153
:goto_153
invoke-virtual {v0, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;
.line 364
iget-object v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
const/16 v3, 0xd
invoke-virtual {v2, v0, v3}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->startActivityForResult(Landroid/content/Intent;I)V
:try_end_15d
.catch Ljava/lang/Exception; {:try_start_f8 .. :try_end_15d} :catch_15e
.end local v0 # "tmpIntent":Landroid/content/Intent;
.end local v1 # "preferences":Landroid/content/SharedPreferences;
.end local v4 # "currentSound":Landroid/net/Uri;
.end local v5 # "defaultPath":Ljava/lang/String;
.end local v6 # "defaultUri":Landroid/net/Uri;
.end local v7 # "path":Ljava/lang/String;
goto :goto_162
.line 365
:catch_15e
move-exception v0
.line 366
.local v0, "e":Ljava/lang/Exception;
invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 367
.end local v0 # "e":Ljava/lang/Exception;
:goto_162
goto/16 :goto_3f4
.line 368
:cond_164
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->vibrateRow:I
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$1900(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v0
if-ne p2, v0, :cond_188
.line 369
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object v1
iget-object v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-static {v2}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)J
move-result-wide v2
const/4 v4, 0x0
const/4 v5, 0x0
new-instance v6, Lim/tpelyyftgw/ui/-$$Lambda$ProfileNotificationsActivity$3$huP-4mV5EBo8W7xMZvbz2Y0stXY;
invoke-direct {v6, p0}, Lim/tpelyyftgw/ui/-$$Lambda$ProfileNotificationsActivity$3$huP-4mV5EBo8W7xMZvbz2Y0stXY;-><init>(Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;)V
invoke-static/range {v1 .. v6}, Lim/tpelyyftgw/ui/components/AlertsCreator;->createVibrationSelectDialog(Landroid/app/Activity;JZZLjava/lang/Runnable;)Landroid/app/Dialog;
move-result-object v1
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->showDialog(Landroid/app/Dialog;)Landroid/app/Dialog;
goto/16 :goto_3f4
.line 374
:cond_188
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->enableRow:I
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$2000(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v0
if-ne p2, v0, :cond_1b4
.line 375
move-object v0, p1
check-cast v0, Lim/tpelyyftgw/ui/components/TextSwitchCell;
.line 376
.local v0, "checkCell":Lim/tpelyyftgw/ui/components/TextSwitchCell;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/TextSwitchCell;->isContainerEnabled()Z
move-result v2
if-nez v2, :cond_19a
.line 377
return-void
.line 380
:cond_19a
iget-object v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/TextSwitchCell;->isChecked()Z
move-result v3
xor-int/2addr v1, v3
# setter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->notificationsEnabled:Z
invoke-static {v2, v1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$102(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;Z)Z
.line 381
iget-object v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->notificationsEnabled:Z
invoke-static {v1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$100(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Z
move-result v1
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/TextSwitchCell;->setChecked(Z)V
.line 382
iget-object v1, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# invokes: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->checkRowsEnabled()V
invoke-static {v1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$1400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)V
.line 383
.end local v0 # "checkCell":Lim/tpelyyftgw/ui/components/TextSwitchCell;
goto/16 :goto_3f4
:cond_1b4
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->previewRow:I
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$2100(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v0
if-ne p2, v0, :cond_201
.line 384
move-object v0, p1
check-cast v0, Lim/tpelyyftgw/ui/components/TextSwitchCell;
.line 385
.restart local v0 # "checkCell":Lim/tpelyyftgw/ui/components/TextSwitchCell;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/TextSwitchCell;->isContainerEnabled()Z
move-result v2
if-nez v2, :cond_1c6
.line 386
return-void
.line 388
:cond_1c6
iget-object v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
invoke-static {v2}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$2200(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v2
invoke-static {v2}, Lim/tpelyyftgw/messenger/MessagesController;->getNotificationsSettings(I)Landroid/content/SharedPreferences;
move-result-object v2
.line 389
.local v2, "preferences":Landroid/content/SharedPreferences;
invoke-interface {v2}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v3
new-instance v4, Ljava/lang/StringBuilder;
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
const-string v5, "content_preview_"
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v5, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-static {v5}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)J
move-result-wide v5
invoke-virtual {v4, v5, v6}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v4
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/TextSwitchCell;->isChecked()Z
move-result v5
xor-int/2addr v5, v1
invoke-interface {v3, v4, v5}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;
move-result-object v3
invoke-interface {v3}, Landroid/content/SharedPreferences$Editor;->commit()Z
.line 390
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/TextSwitchCell;->isChecked()Z
move-result v3
xor-int/2addr v1, v3
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/TextSwitchCell;->setChecked(Z)V
.line 391
.end local v0 # "checkCell":Lim/tpelyyftgw/ui/components/TextSwitchCell;
.end local v2 # "preferences":Landroid/content/SharedPreferences;
goto/16 :goto_3f4
:cond_201
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->callsVibrateRow:I
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$2300(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v0
if-ne p2, v0, :cond_225
.line 392
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object v1
iget-object v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-static {v2}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)J
move-result-wide v2
new-instance v4, Lim/tpelyyftgw/ui/-$$Lambda$ProfileNotificationsActivity$3$V7X6em9zRlvlC4F7RrNpoTC8TdU;
invoke-direct {v4, p0}, Lim/tpelyyftgw/ui/-$$Lambda$ProfileNotificationsActivity$3$V7X6em9zRlvlC4F7RrNpoTC8TdU;-><init>(Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;)V
const-string v5, "calls_vibrate_"
invoke-static {v1, v2, v3, v5, v4}, Lim/tpelyyftgw/ui/components/AlertsCreator;->createVibrationSelectDialog(Landroid/app/Activity;JLjava/lang/String;Ljava/lang/Runnable;)Landroid/app/Dialog;
move-result-object v1
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->showDialog(Landroid/app/Dialog;)Landroid/app/Dialog;
goto/16 :goto_3f4
.line 397
:cond_225
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->priorityRow:I
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$2400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v0
const/4 v2, -0x1
if-ne p2, v0, :cond_248
.line 398
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object v1
iget-object v3, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-static {v3}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)J
move-result-wide v3
new-instance v5, Lim/tpelyyftgw/ui/-$$Lambda$ProfileNotificationsActivity$3$gHcwKlqTVrzGxTTAWEG-wzYFbCM;
invoke-direct {v5, p0}, Lim/tpelyyftgw/ui/-$$Lambda$ProfileNotificationsActivity$3$gHcwKlqTVrzGxTTAWEG-wzYFbCM;-><init>(Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;)V
invoke-static {v1, v3, v4, v2, v5}, Lim/tpelyyftgw/ui/components/AlertsCreator;->createPrioritySelectDialog(Landroid/app/Activity;JILjava/lang/Runnable;)Landroid/app/Dialog;
move-result-object v1
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->showDialog(Landroid/app/Dialog;)Landroid/app/Dialog;
goto/16 :goto_3f4
.line 403
:cond_248
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->smartRow:I
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$2500(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v0
const/4 v3, 0x0
if-ne p2, v0, :cond_328
.line 404
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object v0
if-nez v0, :cond_25a
.line 405
return-void
.line 407
:cond_25a
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object v0
.line 408
.local v0, "context1":Landroid/content/Context;
iget-object v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
invoke-static {v2}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$2600(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v2
invoke-static {v2}, Lim/tpelyyftgw/messenger/MessagesController;->getNotificationsSettings(I)Landroid/content/SharedPreferences;
move-result-object v2
.line 409
.restart local v2 # "preferences":Landroid/content/SharedPreferences;
new-instance v4, Ljava/lang/StringBuilder;
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
const-string/jumbo v5, "smart_max_count_"
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v5, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-static {v5}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)J
move-result-wide v5
invoke-virtual {v4, v5, v6}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v4
invoke-interface {v2, v4, v9}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I
move-result v4
.line 410
.local v4, "notifyMaxCount":I
new-instance v5, Ljava/lang/StringBuilder;
invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
const-string/jumbo v6, "smart_delay_"
invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v6, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-static {v6}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)J
move-result-wide v6
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
const/16 v6, 0xb4
invoke-interface {v2, v5, v6}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I
move-result v5
.line 411
.local v5, "notifyDelay":I
if-nez v4, :cond_2a7
.line 412
const/4 v4, 0x2
.line 414
:cond_2a7
div-int/lit8 v6, v5, 0x3c
sub-int/2addr v6, v1
mul-int/lit8 v6, v6, 0xa
add-int/2addr v6, v4
sub-int/2addr v6, v1
.line 416
.local v6, "selected":I
new-instance v7, Lim/tpelyyftgw/ui/components/RecyclerListView;
iget-object v8, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
invoke-virtual {v8}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object v8
invoke-direct {v7, v8}, Lim/tpelyyftgw/ui/components/RecyclerListView;-><init>(Landroid/content/Context;)V
.line 417
.local v7, "list":Lim/tpelyyftgw/ui/components/RecyclerListView;
new-instance v8, Landroidx/recyclerview/widget/LinearLayoutManager;
iget-object v9, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->val$context:Landroid/content/Context;
invoke-direct {v8, v9, v1, v3}, Landroidx/recyclerview/widget/LinearLayoutManager;-><init>(Landroid/content/Context;IZ)V
invoke-virtual {v7, v8}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setLayoutManager(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)V
.line 418
invoke-virtual {v7, v1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setClipToPadding(Z)V
.line 419
new-instance v1, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3$1;
invoke-direct {v1, p0, v0, v6}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3$1;-><init>(Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;Landroid/content/Context;I)V
invoke-virtual {v7, v1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V
.line 459
const/high16 v1, 0x41400000 # 12.0f
invoke-static {v1}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v1
const/high16 v8, 0x41000000 # 8.0f
invoke-static {v8}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v8
invoke-virtual {v7, v3, v1, v3, v8}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setPadding(IIII)V
.line 460
new-instance v1, Lim/tpelyyftgw/ui/-$$Lambda$ProfileNotificationsActivity$3$ITJm4FxXt0hweJLJzhPPs8fnwpw;
invoke-direct {v1, p0}, Lim/tpelyyftgw/ui/-$$Lambda$ProfileNotificationsActivity$3$ITJm4FxXt0hweJLJzhPPs8fnwpw;-><init>(Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;)V
invoke-virtual {v7, v1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setOnItemClickListener(Lim/tpelyyftgw/ui/components/RecyclerListView$OnItemClickListener;)V
.line 474
new-instance v1, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;
iget-object v3, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
invoke-virtual {v3}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object v3
invoke-direct {v1, v3}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;-><init>(Landroid/content/Context;)V
.line 475
.local v1, "builder":Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;
const v3, 0x7f0f0fd9
const-string v8, "SmartNotificationsAlert"
invoke-static {v8, v3}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v3
invoke-virtual {v1, v3}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;
.line 476
invoke-virtual {v1, v7}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;->setView(Landroid/view/View;)Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;
.line 477
const v3, 0x7f0f02f7
const-string v8, "Cancel"
invoke-static {v8, v3}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v3
const/4 v8, 0x0
invoke-virtual {v1, v3, v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;
.line 478
const v3, 0x7f0f0fdb
const-string v8, "SmartNotificationsDisabled"
invoke-static {v8, v3}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v3
new-instance v8, Lim/tpelyyftgw/ui/-$$Lambda$ProfileNotificationsActivity$3$8QAhR6jcELxv13nOCUXBQ1BWA1k;
invoke-direct {v8, p0}, Lim/tpelyyftgw/ui/-$$Lambda$ProfileNotificationsActivity$3$8QAhR6jcELxv13nOCUXBQ1BWA1k;-><init>(Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;)V
invoke-virtual {v1, v3, v8}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;
.line 487
iget-object v3, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
invoke-virtual {v1}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;->create()Lim/tpelyyftgw/ui/actionbar/AlertDialog;
move-result-object v8
invoke-virtual {v3, v8}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->showDialog(Landroid/app/Dialog;)Landroid/app/Dialog;
.line 488
.end local v0 # "context1":Landroid/content/Context;
.end local v1 # "builder":Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;
.end local v2 # "preferences":Landroid/content/SharedPreferences;
.end local v4 # "notifyMaxCount":I
.end local v5 # "notifyDelay":I
.end local v6 # "selected":I
.end local v7 # "list":Lim/tpelyyftgw/ui/components/RecyclerListView;
goto/16 :goto_3f4
:cond_328
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->colorRow:I
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$2700(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v0
if-ne p2, v0, :cond_353
.line 489
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object v0
if-nez v0, :cond_339
.line 490
return-void
.line 492
:cond_339
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object v1
iget-object v3, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-static {v3}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)J
move-result-wide v3
new-instance v5, Lim/tpelyyftgw/ui/-$$Lambda$ProfileNotificationsActivity$3$MWKMStdCCh91Gd6Ank60RzeJnJs;
invoke-direct {v5, p0}, Lim/tpelyyftgw/ui/-$$Lambda$ProfileNotificationsActivity$3$MWKMStdCCh91Gd6Ank60RzeJnJs;-><init>(Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;)V
invoke-static {v1, v3, v4, v2, v5}, Lim/tpelyyftgw/ui/components/AlertsCreator;->createColorSelectDialog(Landroid/app/Activity;JILjava/lang/Runnable;)Landroid/app/Dialog;
move-result-object v1
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->showDialog(Landroid/app/Dialog;)Landroid/app/Dialog;
goto/16 :goto_3f4
.line 497
:cond_353
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->popupEnabledRow:I
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$2800(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v0
const-string v2, "popup_"
if-ne p2, v0, :cond_3a4
.line 498
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$2900(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v0
invoke-static {v0}, Lim/tpelyyftgw/messenger/MessagesController;->getNotificationsSettings(I)Landroid/content/SharedPreferences;
move-result-object v0
.line 499
.local v0, "preferences":Landroid/content/SharedPreferences;
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v4
new-instance v5, Ljava/lang/StringBuilder;
invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v5, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-static {v2}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)J
move-result-wide v6
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 v2
invoke-interface {v4, v2, v1}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;
move-result-object v2
invoke-interface {v2}, Landroid/content/SharedPreferences$Editor;->commit()Z
.line 500
move-object v2, p1
check-cast v2, Lim/tpelyyftgw/ui/components/TextCheckBoxCell2;
invoke-virtual {v2, v1, v1}, Lim/tpelyyftgw/ui/components/TextCheckBoxCell2;->setChecked(ZZ)V
.line 501
iget-object v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;
invoke-static {v2}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$3000(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v2
invoke-static {v9}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v4
invoke-virtual {v2, v4}, Lim/tpelyyftgw/ui/components/RecyclerListView;->findViewWithTag(Ljava/lang/Object;)Landroid/view/View;
move-result-object p1
.line 502
if-eqz p1, :cond_3a3
.line 503
move-object v2, p1
check-cast v2, Lim/tpelyyftgw/ui/components/TextCheckBoxCell2;
invoke-virtual {v2, v3, v1}, Lim/tpelyyftgw/ui/components/TextCheckBoxCell2;->setChecked(ZZ)V
.line 505
.end local v0 # "preferences":Landroid/content/SharedPreferences;
:cond_3a3
goto :goto_3f4
:cond_3a4
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->popupDisabledRow:I
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$3100(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v0
if-ne p2, v0, :cond_3a3
.line 506
iget-object v0, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->currentAccount:I
invoke-static {v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$3200(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)I
move-result v0
invoke-static {v0}, Lim/tpelyyftgw/messenger/MessagesController;->getNotificationsSettings(I)Landroid/content/SharedPreferences;
move-result-object v0
.line 507
.restart local v0 # "preferences":Landroid/content/SharedPreferences;
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v4
new-instance v5, Ljava/lang/StringBuilder;
invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v5, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->dialog_id:J
invoke-static {v2}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$400(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)J
move-result-wide v6
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 v2
invoke-interface {v4, v2, v9}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;
move-result-object v2
invoke-interface {v2}, Landroid/content/SharedPreferences$Editor;->commit()Z
.line 508
move-object v2, p1
check-cast v2, Lim/tpelyyftgw/ui/components/TextCheckBoxCell2;
invoke-virtual {v2, v1, v1}, Lim/tpelyyftgw/ui/components/TextCheckBoxCell2;->setChecked(ZZ)V
.line 509
iget-object v2, p0, Lim/tpelyyftgw/ui/ProfileNotificationsActivity$3;->this$0:Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
# getter for: Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;
invoke-static {v2}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->access$3000(Lim/tpelyyftgw/ui/ProfileNotificationsActivity;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v2
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v4
invoke-virtual {v2, v4}, Lim/tpelyyftgw/ui/components/RecyclerListView;->findViewWithTag(Ljava/lang/Object;)Landroid/view/View;
move-result-object p1
.line 510
if-eqz p1, :cond_3f4
.line 511
move-object v2, p1
check-cast v2, Lim/tpelyyftgw/ui/components/TextCheckBoxCell2;
invoke-virtual {v2, v3, v1}, Lim/tpelyyftgw/ui/components/TextCheckBoxCell2;->setChecked(ZZ)V
goto :goto_3f4
.line 305
.end local v0 # "preferences":Landroid/content/SharedPreferences;
:cond_3f3
:goto_3f3
nop
.line 515
:cond_3f4
:goto_3f4
return-void
.end method