NotificationsCustomSettingsActivity.smali

.class public Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;
.super Lim/tpelyyftgw/ui/actionbar/BaseFragment;
.source "NotificationsCustomSettingsActivity.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;,
        Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$SearchAdapter;
    }
.end annotation


# static fields
.field private static final search_button:I


# instance fields
.field private adapter:Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;

.field private alertRow:I

.field private alertSection2Row:I

.field private animatorSet:Landroid/animation/AnimatorSet;

.field private currentType:I

.field private deleteAllRow:I

.field private deleteAllSectionRow:I

.field private emptyView:Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

.field private exceptions:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;",
            ">;"
        }
    .end annotation
.end field

.field private exceptionsAddRow:I

.field private exceptionsDict:Ljava/util/HashMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/HashMap<",
            "Ljava/lang/Long;",
            "Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;",
            ">;"
        }
    .end annotation
.end field

.field private exceptionsEndRow:I

.field private exceptionsSection2Row:I

.field private exceptionsStartRow:I

.field private groupSection2Row:I

.field private listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

.field private messageLedRow:I

.field private messagePopupNotificationRow:I

.field private messagePriorityRow:I

.field private messageSectionRow:I

.field private messageSoundRow:I

.field private messageVibrateRow:I

.field private previewRow:I

.field private rowCount:I

.field private searchAdapter:Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$SearchAdapter;

.field private searchWas:Z

.field private searching:Z


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method public constructor <init>(ILjava/util/ArrayList;)V
    .registers 4
    .param p1, "type"    # I
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I",
            "Ljava/util/ArrayList<",
            "Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;",
            ">;)V"
        }
    .end annotation

    .line 111
    .local p2, "notificationExceptions":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    const/4 v0, 0x0

    invoke-direct {p0, p1, p2, v0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;-><init>(ILjava/util/ArrayList;Z)V

    .line 112
    return-void
.end method

.method public constructor <init>(ILjava/util/ArrayList;Z)V
    .registers 10
    .param p1, "type"    # I
    .param p3, "load"    # Z
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I",
            "Ljava/util/ArrayList<",
            "Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;",
            ">;Z)V"
        }
    .end annotation

    .line 115
    .local p2, "notificationExceptions":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    invoke-direct {p0}, Lim/tpelyyftgw/ui/actionbar/BaseFragment;-><init>()V

    .line 104
    const/4 v0, 0x0

    iput v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    .line 108
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsDict:Ljava/util/HashMap;

    .line 116
    iput p1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentType:I

    .line 117
    iput-object p2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    .line 118
    const/4 v0, 0x0

    .local v0, "a":I
    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result v1

    .local v1, "N":I
    :goto_16
    if-ge v0, v1, :cond_2e

    .line 119
    iget-object v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;

    .line 120
    .local v2, "exception":Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    iget-object v3, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsDict:Ljava/util/HashMap;

    iget-wide v4, v2, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->did:J

    invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v4

    invoke-virtual {v3, v4, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 118
    .end local v2    # "exception":Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    add-int/lit8 v0, v0, 0x1

    goto :goto_16

    .line 122
    .end local v0    # "a":I
    .end local v1    # "N":I
    :cond_2e
    if-eqz p3, :cond_33

    .line 123
    invoke-direct {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->loadExceptions()V

    .line 125
    :cond_33
    return-void
.end method

.method static synthetic access$000(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)Z
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->searching:Z

    return v0
.end method

.method static synthetic access$002(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;Z)Z
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;
    .param p1, "x1"    # Z

    .line 75
    iput-boolean p1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->searching:Z

    return p1
.end method

.method static synthetic access$100(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)Lim/tpelyyftgw/ui/components/EmptyTextProgressView;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->emptyView:Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

    return-object v0
.end method

.method static synthetic access$1000(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)Lim/tpelyyftgw/messenger/MessagesController;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getMessagesController()Lim/tpelyyftgw/messenger/MessagesController;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$1100(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)Lim/tpelyyftgw/messenger/MessagesController;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getMessagesController()Lim/tpelyyftgw/messenger/MessagesController;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$1200(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)Lim/tpelyyftgw/messenger/MessagesController;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getMessagesController()Lim/tpelyyftgw/messenger/MessagesController;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$1300(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    return v0
.end method

.method static synthetic access$1400(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messageSectionRow:I

    return v0
.end method

.method static synthetic access$1500(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)Landroid/content/SharedPreferences;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getNotificationsSettings()Landroid/content/SharedPreferences;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$1600(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->previewRow:I

    return v0
.end method

.method static synthetic access$1700(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsStartRow:I

    return v0
.end method

.method static synthetic access$1800(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsEndRow:I

    return v0
.end method

.method static synthetic access$1900(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)Landroid/content/SharedPreferences;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getNotificationsSettings()Landroid/content/SharedPreferences;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$200(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$SearchAdapter;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->searchAdapter:Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$SearchAdapter;

    return-object v0
.end method

.method static synthetic access$2000(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->deleteAllSectionRow:I

    return v0
.end method

.method static synthetic access$2100(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->groupSection2Row:I

    return v0
.end method

.method static synthetic access$2200(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsSection2Row:I

    return v0
.end method

.method static synthetic access$2300(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->deleteAllRow:I

    return v0
.end method

.method static synthetic access$2400(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)Landroid/content/SharedPreferences;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getNotificationsSettings()Landroid/content/SharedPreferences;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$2500(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messageSoundRow:I

    return v0
.end method

.method static synthetic access$2600(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messageVibrateRow:I

    return v0
.end method

.method static synthetic access$2700(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messagePriorityRow:I

    return v0
.end method

.method static synthetic access$2800(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messagePopupNotificationRow:I

    return v0
.end method

.method static synthetic access$2900(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)Landroid/content/SharedPreferences;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getNotificationsSettings()Landroid/content/SharedPreferences;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$300(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)Z
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->searchWas:Z

    return v0
.end method

.method static synthetic access$3000(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)Lim/tpelyyftgw/tgnet/ConnectionsManager;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getConnectionsManager()Lim/tpelyyftgw/tgnet/ConnectionsManager;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$302(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;Z)Z
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;
    .param p1, "x1"    # Z

    .line 75
    iput-boolean p1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->searchWas:Z

    return p1
.end method

.method static synthetic access$3100(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsAddRow:I

    return v0
.end method

.method static synthetic access$3200(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)Lim/tpelyyftgw/messenger/NotificationsController;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getNotificationsController()Lim/tpelyyftgw/messenger/NotificationsController;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$3300(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messageLedRow:I

    return v0
.end method

.method static synthetic access$3400(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->alertSection2Row:I

    return v0
.end method

.method static synthetic access$3500(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->alertRow:I

    return v0
.end method

.method static synthetic access$400(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->adapter:Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;

    return-object v0
.end method

.method static synthetic access$500(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)Lim/tpelyyftgw/ui/components/RecyclerListView;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    return-object v0
.end method

.method static synthetic access$600(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)Landroid/animation/AnimatorSet;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->animatorSet:Landroid/animation/AnimatorSet;

    return-object v0
.end method

.method static synthetic access$602(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;Landroid/animation/AnimatorSet;)Landroid/animation/AnimatorSet;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;
    .param p1, "x1"    # Landroid/animation/AnimatorSet;

    .line 75
    iput-object p1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->animatorSet:Landroid/animation/AnimatorSet;

    return-object p1
.end method

.method static synthetic access$700(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentType:I

    return v0
.end method

.method static synthetic access$800(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)Ljava/util/ArrayList;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic access$900(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)Lim/tpelyyftgw/messenger/MessagesController;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;

    .line 75
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getMessagesController()Lim/tpelyyftgw/messenger/MessagesController;

    move-result-object v0

    return-object v0
.end method

.method private checkRowsEnabled()V
    .registers 10

    .line 576
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_9

    .line 577
    return-void

    .line 579
    :cond_9
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getChildCount()I

    move-result v0

    .line 580
    .local v0, "count":I
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    .line 581
    .local v1, "animators":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Landroid/animation/Animator;>;"
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getNotificationsController()Lim/tpelyyftgw/messenger/NotificationsController;

    move-result-object v2

    iget v3, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentType:I

    invoke-virtual {v2, v3}, Lim/tpelyyftgw/messenger/NotificationsController;->isGlobalNotificationsEnabled(I)Z

    move-result v2

    .line 582
    .local v2, "enabled":Z
    const/4 v3, 0x0

    .local v3, "a":I
    :goto_1f
    if-ge v3, v0, :cond_69

    .line 583
    iget-object v4, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v4, v3}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getChildAt(I)Landroid/view/View;

    move-result-object v4

    .line 584
    .local v4, "child":Landroid/view/View;
    iget-object v5, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v5, v4}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getChildViewHolder(Landroid/view/View;)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;

    move-result-object v5

    check-cast v5, Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;

    .line 585
    .local v5, "holder":Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;
    invoke-virtual {v5}, Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;->getItemViewType()I

    move-result v6

    if-eqz v6, :cond_57

    const/4 v7, 0x1

    if-eq v6, v7, :cond_4f

    const/4 v7, 0x3

    if-eq v6, v7, :cond_47

    const/4 v7, 0x5

    if-eq v6, v7, :cond_3f

    goto :goto_66

    .line 604
    :cond_3f
    iget-object v6, v5, Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;->itemView:Landroid/view/View;

    check-cast v6, Lim/tpelyyftgw/ui/components/TextCell;

    .line 605
    .local v6, "textCell":Lim/tpelyyftgw/ui/components/TextCell;
    invoke-virtual {v6, v2, v1}, Lim/tpelyyftgw/ui/components/TextCell;->setEnabled(ZLjava/util/ArrayList;)V

    .line 606
    goto :goto_66

    .line 599
    .end local v6    # "textCell":Lim/tpelyyftgw/ui/components/TextCell;
    :cond_47
    iget-object v6, v5, Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;->itemView:Landroid/view/View;

    check-cast v6, Lim/tpelyyftgw/ui/cells/TextColorCell;

    .line 600
    .local v6, "textCell":Lim/tpelyyftgw/ui/cells/TextColorCell;
    invoke-virtual {v6, v2, v1}, Lim/tpelyyftgw/ui/cells/TextColorCell;->setEnabled(ZLjava/util/ArrayList;)V

    .line 601
    goto :goto_66

    .line 594
    .end local v6    # "textCell":Lim/tpelyyftgw/ui/cells/TextColorCell;
    :cond_4f
    iget-object v6, v5, Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;->itemView:Landroid/view/View;

    check-cast v6, Lim/tpelyyftgw/ui/components/TextSwitchCell;

    .line 595
    .local v6, "textCell":Lim/tpelyyftgw/ui/components/TextSwitchCell;
    invoke-virtual {v6, v2, v1}, Lim/tpelyyftgw/ui/components/TextSwitchCell;->setEnabled(ZLjava/util/ArrayList;)V

    .line 596
    goto :goto_66

    .line 587
    .end local v6    # "textCell":Lim/tpelyyftgw/ui/components/TextSwitchCell;
    :cond_57
    iget-object v6, v5, Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;->itemView:Landroid/view/View;

    check-cast v6, Lim/tpelyyftgw/ui/components/TextHeaderCell;

    .line 588
    .local v6, "headerCell":Lim/tpelyyftgw/ui/components/TextHeaderCell;
    invoke-virtual {v5}, Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;->getAdapterPosition()I

    move-result v7

    iget v8, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messageSectionRow:I

    if-ne v7, v8, :cond_66

    .line 589
    invoke-virtual {v6, v2, v1}, Lim/tpelyyftgw/ui/components/TextHeaderCell;->setEnabled(ZLjava/util/ArrayList;)V

    .line 582
    .end local v4    # "child":Landroid/view/View;
    .end local v5    # "holder":Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;
    .end local v6    # "headerCell":Lim/tpelyyftgw/ui/components/TextHeaderCell;
    :cond_66
    :goto_66
    add-int/lit8 v3, v3, 0x1

    goto :goto_1f

    .line 610
    .end local v3    # "a":I
    :cond_69
    invoke-virtual {v1}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v3

    if-nez v3, :cond_96

    .line 611
    iget-object v3, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->animatorSet:Landroid/animation/AnimatorSet;

    if-eqz v3, :cond_76

    .line 612
    invoke-virtual {v3}, Landroid/animation/AnimatorSet;->cancel()V

    .line 614
    :cond_76
    new-instance v3, Landroid/animation/AnimatorSet;

    invoke-direct {v3}, Landroid/animation/AnimatorSet;-><init>()V

    iput-object v3, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->animatorSet:Landroid/animation/AnimatorSet;

    .line 615
    invoke-virtual {v3, v1}, Landroid/animation/AnimatorSet;->playTogether(Ljava/util/Collection;)V

    .line 616
    iget-object v3, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->animatorSet:Landroid/animation/AnimatorSet;

    new-instance v4, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$4;

    invoke-direct {v4, p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$4;-><init>(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)V

    invoke-virtual {v3, v4}, Landroid/animation/AnimatorSet;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    .line 624
    iget-object v3, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->animatorSet:Landroid/animation/AnimatorSet;

    const-wide/16 v4, 0x96

    invoke-virtual {v3, v4, v5}, Landroid/animation/AnimatorSet;->setDuration(J)Landroid/animation/AnimatorSet;

    .line 625
    iget-object v3, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->animatorSet:Landroid/animation/AnimatorSet;

    invoke-virtual {v3}, Landroid/animation/AnimatorSet;->start()V

    .line 627
    :cond_96
    return-void
.end method

.method private loadExceptions()V
    .registers 3

    .line 630
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getMessagesStorage()Lim/tpelyyftgw/messenger/MessagesStorage;

    move-result-object v0

    invoke-virtual {v0}, Lim/tpelyyftgw/messenger/MessagesStorage;->getStorageQueue()Lim/tpelyyftgw/messenger/DispatchQueue;

    move-result-object v0

    new-instance v1, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$aSuGfDhyVdu22yZOwddfA3SePcs;

    invoke-direct {v1, p0}, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$aSuGfDhyVdu22yZOwddfA3SePcs;-><init>(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)V

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/messenger/DispatchQueue;->postRunnable(Ljava/lang/Runnable;)V

    .line 777
    return-void
.end method

.method private updateRows()V
    .registers 5

    .line 780
    const/4 v0, 0x0

    iput v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    .line 781
    iget v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentType:I

    const/4 v2, -0x1

    if-eq v1, v2, :cond_61

    .line 782
    const/4 v3, 0x0

    add-int/lit8 v3, v3, 0x1

    iput v3, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    iput v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->alertRow:I

    .line 783
    add-int/lit8 v0, v3, 0x1

    iput v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    iput v3, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->alertSection2Row:I

    .line 784
    add-int/lit8 v3, v0, 0x1

    iput v3, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    iput v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messageSectionRow:I

    .line 785
    add-int/lit8 v0, v3, 0x1

    iput v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    iput v3, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->previewRow:I

    .line 786
    add-int/lit8 v3, v0, 0x1

    iput v3, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    iput v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messageLedRow:I

    .line 787
    add-int/lit8 v0, v3, 0x1

    iput v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    iput v3, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messageVibrateRow:I

    .line 788
    const/4 v3, 0x2

    if-ne v1, v3, :cond_33

    .line 789
    iput v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messagePopupNotificationRow:I

    goto :goto_39

    .line 791
    :cond_33
    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    iput v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messagePopupNotificationRow:I

    .line 793
    :goto_39
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    iput v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messageSoundRow:I

    .line 794
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x15

    if-lt v0, v1, :cond_50

    .line 795
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    iput v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messagePriorityRow:I

    goto :goto_52

    .line 797
    :cond_50
    iput v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messagePriorityRow:I

    .line 799
    :goto_52
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    iput v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->groupSection2Row:I

    .line 800
    add-int/lit8 v0, v1, 0x1

    iput v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    iput v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsAddRow:I

    goto :goto_77

    .line 802
    :cond_61
    iput v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->alertRow:I

    .line 803
    iput v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->alertSection2Row:I

    .line 804
    iput v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messageSectionRow:I

    .line 805
    iput v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->previewRow:I

    .line 806
    iput v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messageLedRow:I

    .line 807
    iput v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messageVibrateRow:I

    .line 808
    iput v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messagePopupNotificationRow:I

    .line 809
    iput v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messageSoundRow:I

    .line 810
    iput v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messagePriorityRow:I

    .line 811
    iput v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->groupSection2Row:I

    .line 812
    iput v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsAddRow:I

    .line 814
    :goto_77
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    if-eqz v0, :cond_91

    invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_91

    .line 815
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    iput v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsStartRow:I

    .line 816
    iget-object v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    add-int/2addr v0, v1

    iput v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    .line 817
    iput v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsEndRow:I

    goto :goto_95

    .line 819
    :cond_91
    iput v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsStartRow:I

    .line 820
    iput v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsEndRow:I

    .line 822
    :goto_95
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentType:I

    if-ne v0, v2, :cond_a7

    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    if-eqz v0, :cond_a4

    invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_a4

    goto :goto_a7

    .line 825
    :cond_a4
    iput v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsSection2Row:I

    goto :goto_af

    .line 823
    :cond_a7
    :goto_a7
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    iput v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsSection2Row:I

    .line 827
    :goto_af
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    if-eqz v0, :cond_c8

    invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_c8

    .line 828
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    iput v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->deleteAllRow:I

    .line 829
    add-int/lit8 v0, v1, 0x1

    iput v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->rowCount:I

    iput v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->deleteAllSectionRow:I

    goto :goto_cc

    .line 831
    :cond_c8
    iput v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->deleteAllRow:I

    .line 832
    iput v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->deleteAllSectionRow:I

    .line 834
    :goto_cc
    return-void
.end method


# virtual methods
.method public createView(Landroid/content/Context;)Landroid/view/View;
    .registers 12
    .param p1, "context"    # Landroid/content/Context;

    .line 135
    const/4 v0, 0x0

    iput-boolean v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->searching:Z

    .line 136
    iput-boolean v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->searchWas:Z

    .line 138
    iget-object v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;

    const v2, 0x7f0d0073

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->setBackButtonImage(I)V

    .line 139
    iget-object v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;

    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->setAllowOverlayTitle(Z)V

    .line 140
    iget-object v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;

    invoke-virtual {v1, v0}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->setCastShadows(Z)V

    .line 141
    iget v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentType:I

    const/4 v3, -0x1

    if-ne v1, v3, :cond_2c

    .line 142
    iget-object v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;

    const v4, 0x7f0f0a29

    const-string v5, "NotificationsExceptions"

    invoke-static {v5, v4}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->setTitle(Ljava/lang/CharSequence;)V

    goto :goto_3a

    .line 144
    :cond_2c
    iget-object v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;

    const v4, 0x7f0f0a1d

    const-string v5, "Notifications"

    invoke-static {v5, v4}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->setTitle(Ljava/lang/CharSequence;)V

    .line 146
    :goto_3a
    iget-object v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;

    new-instance v4, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$1;

    invoke-direct {v4, p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$1;-><init>(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)V

    invoke-virtual {v1, v4}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->setActionBarMenuOnItemClick(Lim/tpelyyftgw/ui/actionbar/ActionBar$ActionBarMenuOnItemClick;)V

    .line 154
    iget-object v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    if-eqz v1, :cond_74

    invoke-virtual {v1}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v1

    if-nez v1, :cond_74

    .line 155
    iget-object v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;

    invoke-virtual {v1}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->createMenu()Lim/tpelyyftgw/ui/actionbar/ActionBarMenu;

    move-result-object v1

    .line 156
    .local v1, "menu":Lim/tpelyyftgw/ui/actionbar/ActionBarMenu;
    const v4, 0x7f080164

    .line 157
    invoke-virtual {v1, v0, v4}, Lim/tpelyyftgw/ui/actionbar/ActionBarMenu;->addItem(II)Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;

    move-result-object v4

    invoke-virtual {v4, v2}, Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;->setIsSearchField(Z)Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;

    move-result-object v4

    new-instance v5, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$2;

    invoke-direct {v5, p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$2;-><init>(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)V

    invoke-virtual {v4, v5}, Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;->setActionBarMenuItemSearchListener(Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem$ActionBarMenuItemSearchListener;)Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;

    move-result-object v4

    .line 197
    .local v4, "searchItem":Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;
    const v5, 0x7f0f0ec9

    const-string v6, "Search"

    invoke-static {v6, v5}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;->setSearchFieldHint(Ljava/lang/CharSequence;)V

    .line 200
    .end local v1    # "menu":Lim/tpelyyftgw/ui/actionbar/ActionBarMenu;
    .end local v4    # "searchItem":Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;
    :cond_74
    new-instance v1, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$SearchAdapter;

    invoke-direct {v1, p0, p1}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$SearchAdapter;-><init>(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;Landroid/content/Context;)V

    iput-object v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->searchAdapter:Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$SearchAdapter;

    .line 202
    new-instance v1, Landroid/widget/FrameLayout;

    invoke-direct {v1, p1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->fragmentView:Landroid/view/View;

    .line 203
    iget-object v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->fragmentView:Landroid/view/View;

    check-cast v1, Landroid/widget/FrameLayout;

    .line 204
    .local v1, "frameLayout":Landroid/widget/FrameLayout;
    const v4, 0x7f060186

    invoke-virtual {v1, v4}, Landroid/widget/FrameLayout;->setBackgroundResource(I)V

    .line 206
    new-instance v4, Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

    invoke-direct {v4, p1}, Lim/tpelyyftgw/ui/components/EmptyTextProgressView;-><init>(Landroid/content/Context;)V

    iput-object v4, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->emptyView:Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

    .line 207
    const/16 v5, 0x12

    invoke-virtual {v4, v5}, Lim/tpelyyftgw/ui/components/EmptyTextProgressView;->setTextSize(I)V

    .line 208
    iget-object v4, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->emptyView:Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

    const v5, 0x7f0f096a

    const-string v6, "NoExceptions"

    invoke-static {v6, v5}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Lim/tpelyyftgw/ui/components/EmptyTextProgressView;->setText(Ljava/lang/String;)V

    .line 209
    iget-object v4, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->emptyView:Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

    invoke-virtual {v4}, Lim/tpelyyftgw/ui/components/EmptyTextProgressView;->showTextView()V

    .line 210
    iget-object v4, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->emptyView:Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

    const/high16 v5, -0x40800000    # -1.0f

    invoke-static {v3, v5}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(IF)Landroid/widget/FrameLayout$LayoutParams;

    move-result-object v3

    invoke-virtual {v1, v4, v3}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 212
    new-instance v3, Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-direct {v3, p1}, Lim/tpelyyftgw/ui/components/RecyclerListView;-><init>(Landroid/content/Context;)V

    iput-object v3, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    .line 213
    iget-object v4, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->emptyView:Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

    invoke-virtual {v3, v4}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setEmptyView(Landroid/view/View;)V

    .line 214
    iget-object v3, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    new-instance v4, Landroidx/recyclerview/widget/LinearLayoutManager;

    invoke-direct {v4, p1, v2, v0}, Landroidx/recyclerview/widget/LinearLayoutManager;-><init>(Landroid/content/Context;IZ)V

    invoke-virtual {v3, v4}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setLayoutManager(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)V

    .line 215
    iget-object v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v2, v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setVerticalScrollBarEnabled(Z)V

    .line 216
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    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 217
    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 216
    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 {v1, v0, v2}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 218
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    new-instance v2, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;

    invoke-direct {v2, p0, p1}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;-><init>(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;Landroid/content/Context;)V

    iput-object v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->adapter:Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;

    invoke-virtual {v0, v2}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V

    .line 219
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    new-instance v2, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$AEQohHWnMU3_mDWCxShuCDdjN14;

    invoke-direct {v2, p0}, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$AEQohHWnMU3_mDWCxShuCDdjN14;-><init>(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)V

    invoke-virtual {v0, v2}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setOnItemClickListener(Lim/tpelyyftgw/ui/components/RecyclerListView$OnItemClickListenerExtended;)V

    .line 558
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    new-instance v2, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$3;

    invoke-direct {v2, p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$3;-><init>(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)V

    invoke-virtual {v0, v2}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setOnScrollListener(Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;)V

    .line 572
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->fragmentView:Landroid/view/View;

    return-object v0
.end method

.method public synthetic lambda$createView$9$NotificationsCustomSettingsActivity(Landroid/view/View;IFF)V
    .registers 26
    .param p1, "view"    # Landroid/view/View;
    .param p2, "position"    # I
    .param p3, "x"    # F
    .param p4, "y"    # F

    .line 220
    move-object/from16 v9, p0

    move-object/from16 v10, p1

    move/from16 v11, p2

    const/4 v12, 0x0

    .line 221
    .local v12, "enabled":Z
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    if-nez v0, :cond_e

    .line 222
    return-void

    .line 224
    :cond_e
    iget-object v0, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;

    move-result-object v0

    iget-object v1, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->searchAdapter:Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$SearchAdapter;

    if-eq v0, v1, :cond_294

    iget v0, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsStartRow:I

    if-lt v11, v0, :cond_22

    iget v0, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsEndRow:I

    if-ge v11, v0, :cond_22

    goto/16 :goto_294

    .line 319
    :cond_22
    iget v0, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsAddRow:I

    const/4 v1, 0x0

    const/4 v2, 0x2

    const/4 v3, 0x1

    if-ne v11, v0, :cond_60

    .line 320
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    .line 321
    .local v0, "args":Landroid/os/Bundle;
    const-string v4, "onlySelect"

    invoke-virtual {v0, v4, v3}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 322
    const-string v3, "checkCanWrite"

    invoke-virtual {v0, v3, v1}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 323
    iget v1, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentType:I

    const-string v3, "dialogsType"

    if-nez v1, :cond_43

    .line 324
    const/4 v1, 0x6

    invoke-virtual {v0, v3, v1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    goto :goto_4e

    .line 325
    :cond_43
    if-ne v1, v2, :cond_4a

    .line 326
    const/4 v1, 0x5

    invoke-virtual {v0, v3, v1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    goto :goto_4e

    .line 328
    :cond_4a
    const/4 v1, 0x4

    invoke-virtual {v0, v3, v1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    .line 330
    :goto_4e
    new-instance v1, Lim/tpelyyftgw/ui/DialogsActivity;

    invoke-direct {v1, v0}, Lim/tpelyyftgw/ui/DialogsActivity;-><init>(Landroid/os/Bundle;)V

    .line 331
    .local v1, "activity":Lim/tpelyyftgw/ui/DialogsActivity;
    new-instance v2, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$BTdxWHivWUuZePaqmIZjbN14hAw;

    invoke-direct {v2, v9}, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$BTdxWHivWUuZePaqmIZjbN14hAw;-><init>(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)V

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/DialogsActivity;->setDelegate(Lim/tpelyyftgw/ui/DialogsActivity$DialogsActivityDelegate;)V

    .line 343
    invoke-virtual {v9, v1}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->presentFragment(Lim/tpelyyftgw/ui/actionbar/BaseFragment;)Z

    .line 344
    .end local v0    # "args":Landroid/os/Bundle;
    .end local v1    # "activity":Lim/tpelyyftgw/ui/DialogsActivity;
    goto/16 :goto_287

    :cond_60
    iget v0, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->deleteAllRow:I

    if-ne v11, v0, :cond_be

    .line 345
    new-instance v0, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;

    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v1

    invoke-direct {v0, v1}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 346
    .local v0, "builder":Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;
    const v1, 0x7f0f0a27

    const-string v2, "NotificationsDeleteAllExceptionTitle"

    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/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;

    .line 347
    const v1, 0x7f0f0a26

    const-string v2, "NotificationsDeleteAllExceptionAlert"

    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/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;

    .line 348
    const v1, 0x7f0f04d8

    const-string v2, "Delete"

    invoke-static {v2, v1}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$IeuBMuxf8DnqG8MV1ruyTaGqkNA;

    invoke-direct {v2, v9}, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$IeuBMuxf8DnqG8MV1ruyTaGqkNA;-><init>(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)V

    invoke-virtual {v0, v1, v2}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;

    .line 372
    const v1, 0x7f0f02f7

    const-string v2, "Cancel"

    invoke-static {v2, v1}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;

    .line 373
    invoke-virtual {v0}, Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;->create()Lim/tpelyyftgw/ui/actionbar/AlertDialog;

    move-result-object v1

    .line 374
    .local v1, "alertDialog":Lim/tpelyyftgw/ui/actionbar/AlertDialog;
    invoke-virtual {v9, v1}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->showDialog(Landroid/app/Dialog;)Landroid/app/Dialog;

    .line 375
    const/4 v2, -0x1

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/actionbar/AlertDialog;->getButton(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    .line 376
    .local v2, "button":Landroid/widget/TextView;
    if-eqz v2, :cond_bc

    .line 377
    const-string v3, "dialogTextRed2"

    invoke-static {v3}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I

    move-result v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setTextColor(I)V

    .line 379
    .end local v0    # "builder":Lim/tpelyyftgw/ui/actionbar/AlertDialog$Builder;
    .end local v1    # "alertDialog":Lim/tpelyyftgw/ui/actionbar/AlertDialog;
    .end local v2    # "button":Landroid/widget/TextView;
    :cond_bc
    goto/16 :goto_287

    :cond_be
    iget v0, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->alertRow:I

    if-ne v11, v0, :cond_104

    .line 380
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getNotificationsController()Lim/tpelyyftgw/messenger/NotificationsController;

    move-result-object v0

    iget v2, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentType:I

    invoke-virtual {v0, v2}, Lim/tpelyyftgw/messenger/NotificationsController;->isGlobalNotificationsEnabled(I)Z

    move-result v12

    .line 382
    move-object v0, v10

    check-cast v0, Lim/tpelyyftgw/ui/components/TextMultiSwitchCell;

    .line 383
    .local v0, "checkCell":Lim/tpelyyftgw/ui/components/TextMultiSwitchCell;
    iget-object v2, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v2, v11}, Lim/tpelyyftgw/ui/components/RecyclerListView;->findViewHolderForAdapterPosition(I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;

    move-result-object v8

    .line 384
    .local v8, "holder":Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
    if-nez v12, :cond_f0

    .line 385
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getNotificationsController()Lim/tpelyyftgw/messenger/NotificationsController;

    move-result-object v2

    iget v3, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentType:I

    invoke-virtual {v2, v3, v1}, Lim/tpelyyftgw/messenger/NotificationsController;->setGlobalNotificationsEnabled(II)V

    .line 386
    xor-int/lit8 v1, v12, 0x1

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/TextMultiSwitchCell;->setChecked(Z)V

    .line 387
    if-eqz v8, :cond_ec

    .line 388
    iget-object v1, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->adapter:Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;

    invoke-virtual {v1, v8, v11}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;->onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V

    .line 390
    :cond_ec
    invoke-direct/range {p0 .. p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->checkRowsEnabled()V

    goto :goto_102

    .line 392
    :cond_f0
    const-wide/16 v2, 0x0

    iget v4, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentType:I

    iget-object v5, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    iget v6, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentAccount:I

    new-instance v7, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$Y7RNgeEvgYUfnnww8J_Ddyqk7Kw;

    invoke-direct {v7, v9, v0, v8, v11}, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$Y7RNgeEvgYUfnnww8J_Ddyqk7Kw;-><init>(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;Lim/tpelyyftgw/ui/components/TextMultiSwitchCell;Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V

    move-object/from16 v1, p0

    invoke-static/range {v1 .. v7}, Lim/tpelyyftgw/ui/components/AlertsCreator;->showCustomNotificationsDialog(Lim/tpelyyftgw/ui/actionbar/BaseFragment;JILjava/util/ArrayList;ILim/tpelyyftgw/messenger/MessagesStorage$IntCallback;)V

    .line 419
    .end local v0    # "checkCell":Lim/tpelyyftgw/ui/components/TextMultiSwitchCell;
    .end local v8    # "holder":Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
    :goto_102
    goto/16 :goto_287

    :cond_104
    iget v0, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->previewRow:I

    if-ne v11, v0, :cond_159

    .line 420
    instance-of v0, v10, Lim/tpelyyftgw/ui/components/TextSwitchCell;

    if-nez v0, :cond_10d

    .line 421
    return-void

    .line 423
    :cond_10d
    move-object v0, v10

    check-cast v0, Lim/tpelyyftgw/ui/components/TextSwitchCell;

    .line 424
    .local v0, "switchCell":Lim/tpelyyftgw/ui/components/TextSwitchCell;
    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/TextSwitchCell;->isContainerEnabled()Z

    move-result v1

    if-nez v1, :cond_117

    .line 425
    return-void

    .line 427
    :cond_117
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getNotificationsSettings()Landroid/content/SharedPreferences;

    move-result-object v1

    .line 428
    .local v1, "preferences":Landroid/content/SharedPreferences;
    invoke-interface {v1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v2

    .line 429
    .local v2, "editor":Landroid/content/SharedPreferences$Editor;
    iget v4, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentType:I

    if-ne v4, v3, :cond_130

    .line 430
    const-string v4, "EnablePreviewAll"

    invoke-interface {v1, v4, v3}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v3

    .line 431
    .end local v12    # "enabled":Z
    .local v3, "enabled":Z
    xor-int/lit8 v5, v3, 0x1

    invoke-interface {v2, v4, v5}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;

    move v12, v3

    goto :goto_14b

    .line 432
    .end local v3    # "enabled":Z
    .restart local v12    # "enabled":Z
    :cond_130
    if-nez v4, :cond_13f

    .line 433
    const-string v4, "EnablePreviewGroup"

    invoke-interface {v1, v4, v3}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v3

    .line 434
    .end local v12    # "enabled":Z
    .restart local v3    # "enabled":Z
    xor-int/lit8 v5, v3, 0x1

    invoke-interface {v2, v4, v5}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;

    move v12, v3

    goto :goto_14b

    .line 436
    .end local v3    # "enabled":Z
    .restart local v12    # "enabled":Z
    :cond_13f
    const-string v4, "EnablePreviewChannel"

    invoke-interface {v1, v4, v3}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v3

    .line 437
    .end local v12    # "enabled":Z
    .restart local v3    # "enabled":Z
    xor-int/lit8 v5, v3, 0x1

    invoke-interface {v2, v4, v5}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;

    move v12, v3

    .line 439
    .end local v3    # "enabled":Z
    .restart local v12    # "enabled":Z
    :goto_14b
    invoke-interface {v2}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 440
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getNotificationsController()Lim/tpelyyftgw/messenger/NotificationsController;

    move-result-object v3

    iget v4, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentType:I

    invoke-virtual {v3, v4}, Lim/tpelyyftgw/messenger/NotificationsController;->updateServerNotificationsSettings(I)V

    .line 441
    .end local v0    # "switchCell":Lim/tpelyyftgw/ui/components/TextSwitchCell;
    .end local v1    # "preferences":Landroid/content/SharedPreferences;
    .end local v2    # "editor":Landroid/content/SharedPreferences$Editor;
    goto/16 :goto_287

    :cond_159
    iget v0, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messageSoundRow:I

    if-ne v11, v0, :cond_1dc

    .line 442
    instance-of v0, v10, Lim/tpelyyftgw/ui/components/TextCell;

    if-nez v0, :cond_162

    .line 443
    return-void

    .line 445
    :cond_162
    move-object v1, v10

    check-cast v1, Lim/tpelyyftgw/ui/components/TextCell;

    .line 446
    .local v1, "textCell":Lim/tpelyyftgw/ui/components/TextCell;
    invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/TextCell;->isContainerEnabled()Z

    move-result v0

    if-nez v0, :cond_16c

    .line 447
    return-void

    .line 451
    :cond_16c
    :try_start_16c
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getNotificationsSettings()Landroid/content/SharedPreferences;

    move-result-object v0

    .line 452
    .local v0, "preferences":Landroid/content/SharedPreferences;
    new-instance v4, Landroid/content/Intent;

    const-string v5, "android.intent.action.RINGTONE_PICKER"

    invoke-direct {v4, v5}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 453
    .local v4, "tmpIntent":Landroid/content/Intent;
    const-string v5, "android.intent.extra.ringtone.TYPE"

    invoke-virtual {v4, v5, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 454
    const-string v5, "android.intent.extra.ringtone.SHOW_DEFAULT"

    invoke-virtual {v4, v5, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 455
    const-string v5, "android.intent.extra.ringtone.SHOW_SILENT"

    invoke-virtual {v4, v5, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 456
    const-string v5, "android.intent.extra.ringtone.DEFAULT_URI"

    invoke-static {v2}, Landroid/media/RingtoneManager;->getDefaultUri(I)Landroid/net/Uri;

    move-result-object v2

    invoke-virtual {v4, v5, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;

    .line 457
    const/4 v2, 0x0

    .line 459
    .local v2, "currentSound":Landroid/net/Uri;
    const/4 v5, 0x0

    .line 460
    .local v5, "defaultPath":Ljava/lang/String;
    sget-object v6, Landroid/provider/Settings$System;->DEFAULT_NOTIFICATION_URI:Landroid/net/Uri;

    .line 461
    .local v6, "defaultUri":Landroid/net/Uri;
    if-eqz v6, :cond_19a

    .line 462
    invoke-virtual {v6}, Landroid/net/Uri;->getPath()Ljava/lang/String;

    move-result-object v7

    move-object v5, v7

    .line 466
    :cond_19a
    iget v7, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentType:I

    if-ne v7, v3, :cond_1a5

    .line 467
    const-string v3, "GlobalSoundPath"

    invoke-interface {v0, v3, v5}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    .local v3, "path":Ljava/lang/String;
    goto :goto_1b6

    .line 468
    .end local v3    # "path":Ljava/lang/String;
    :cond_1a5
    iget v3, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentType:I

    if-nez v3, :cond_1b0

    .line 469
    const-string v3, "GroupSoundPath"

    invoke-interface {v0, v3, v5}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    .restart local v3    # "path":Ljava/lang/String;
    goto :goto_1b6

    .line 471
    .end local v3    # "path":Ljava/lang/String;
    :cond_1b0
    const-string v3, "ChannelSoundPath"

    invoke-interface {v0, v3, v5}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    .line 474
    .restart local v3    # "path":Ljava/lang/String;
    :goto_1b6
    if-eqz v3, :cond_1cd

    const-string v7, "NoSound"

    invoke-virtual {v3, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-nez v7, :cond_1cd

    .line 475
    invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_1c8

    .line 476
    move-object v2, v6

    goto :goto_1cd

    .line 478
    :cond_1c8
    invoke-static {v3}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v7

    move-object v2, v7

    .line 482
    :cond_1cd
    :goto_1cd
    const-string v7, "android.intent.extra.ringtone.EXISTING_URI"

    invoke-virtual {v4, v7, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;

    .line 483
    invoke-virtual {v9, v4, v11}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->startActivityForResult(Landroid/content/Intent;I)V
    :try_end_1d5
    .catch Ljava/lang/Exception; {:try_start_16c .. :try_end_1d5} :catch_1d6

    .line 486
    .end local v0    # "preferences":Landroid/content/SharedPreferences;
    .end local v2    # "currentSound":Landroid/net/Uri;
    .end local v3    # "path":Ljava/lang/String;
    .end local v4    # "tmpIntent":Landroid/content/Intent;
    .end local v5    # "defaultPath":Ljava/lang/String;
    .end local v6    # "defaultUri":Landroid/net/Uri;
    goto :goto_1da

    .line 484
    :catch_1d6
    move-exception v0

    .line 485
    .local v0, "e":Ljava/lang/Exception;
    invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V

    .line 487
    .end local v0    # "e":Ljava/lang/Exception;
    .end local v1    # "textCell":Lim/tpelyyftgw/ui/components/TextCell;
    :goto_1da
    goto/16 :goto_287

    :cond_1dc
    iget v0, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messageLedRow:I

    const-wide/16 v1, 0x0

    if-ne v11, v0, :cond_205

    .line 488
    instance-of v0, v10, Lim/tpelyyftgw/ui/cells/TextColorCell;

    if-nez v0, :cond_1e7

    .line 489
    return-void

    .line 491
    :cond_1e7
    move-object v0, v10

    check-cast v0, Lim/tpelyyftgw/ui/cells/TextColorCell;

    .line 492
    .local v0, "textCell":Lim/tpelyyftgw/ui/cells/TextColorCell;
    invoke-virtual {v0}, Lim/tpelyyftgw/ui/cells/TextColorCell;->isContainerEnabled()Z

    move-result v3

    if-nez v3, :cond_1f1

    .line 493
    return-void

    .line 496
    :cond_1f1
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v3

    iget v4, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentType:I

    new-instance v5, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$cYwIh6ZOtzILGY8ixC1H3bFktVk;

    invoke-direct {v5, v9, v11}, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$cYwIh6ZOtzILGY8ixC1H3bFktVk;-><init>(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;I)V

    invoke-static {v3, v1, v2, v4, v5}, Lim/tpelyyftgw/ui/components/AlertsCreator;->createColorSelectDialog(Landroid/app/Activity;JILjava/lang/Runnable;)Landroid/app/Dialog;

    move-result-object v1

    invoke-virtual {v9, v1}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->showDialog(Landroid/app/Dialog;)Landroid/app/Dialog;

    .line 502
    .end local v0    # "textCell":Lim/tpelyyftgw/ui/cells/TextColorCell;
    goto/16 :goto_287

    :cond_205
    iget v0, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messagePopupNotificationRow:I

    if-ne v11, v0, :cond_22b

    .line 503
    instance-of v0, v10, Lim/tpelyyftgw/ui/components/TextCell;

    if-nez v0, :cond_20e

    .line 504
    return-void

    .line 506
    :cond_20e
    move-object v0, v10

    check-cast v0, Lim/tpelyyftgw/ui/components/TextCell;

    .line 507
    .local v0, "textCell":Lim/tpelyyftgw/ui/components/TextCell;
    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/TextCell;->isContainerEnabled()Z

    move-result v1

    if-nez v1, :cond_218

    .line 508
    return-void

    .line 510
    :cond_218
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v1

    iget v2, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentType:I

    new-instance v3, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$cfmqCDfvuAmPJLzcuBK3nD9OO7w;

    invoke-direct {v3, v9, v11}, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$cfmqCDfvuAmPJLzcuBK3nD9OO7w;-><init>(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;I)V

    invoke-static {v1, v2, v3}, Lim/tpelyyftgw/ui/components/AlertsCreator;->createPopupSelectDialog(Landroid/app/Activity;ILjava/lang/Runnable;)Landroid/app/Dialog;

    move-result-object v1

    invoke-virtual {v9, v1}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->showDialog(Landroid/app/Dialog;)Landroid/app/Dialog;

    .line 516
    .end local v0    # "textCell":Lim/tpelyyftgw/ui/components/TextCell;
    goto :goto_287

    :cond_22b
    iget v0, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messageVibrateRow:I

    if-ne v11, v0, :cond_260

    .line 517
    instance-of v0, v10, Lim/tpelyyftgw/ui/components/TextCell;

    if-nez v0, :cond_234

    .line 518
    return-void

    .line 520
    :cond_234
    move-object v0, v10

    check-cast v0, Lim/tpelyyftgw/ui/components/TextCell;

    .line 521
    .restart local v0    # "textCell":Lim/tpelyyftgw/ui/components/TextCell;
    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/TextCell;->isContainerEnabled()Z

    move-result v4

    if-nez v4, :cond_23e

    .line 522
    return-void

    .line 525
    :cond_23e
    iget v4, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentType:I

    if-ne v4, v3, :cond_246

    .line 526
    const-string/jumbo v3, "vibrate_messages"

    .local v3, "key":Ljava/lang/String;
    goto :goto_24f

    .line 527
    .end local v3    # "key":Ljava/lang/String;
    :cond_246
    if-nez v4, :cond_24c

    .line 528
    const-string/jumbo v3, "vibrate_group"

    .restart local v3    # "key":Ljava/lang/String;
    goto :goto_24f

    .line 530
    .end local v3    # "key":Ljava/lang/String;
    :cond_24c
    const-string/jumbo v3, "vibrate_channel"

    .line 532
    .restart local v3    # "key":Ljava/lang/String;
    :goto_24f
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v4

    new-instance v5, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$rxERgW9-l_8-Ddu3ayG0dkCLndk;

    invoke-direct {v5, v9, v11}, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$rxERgW9-l_8-Ddu3ayG0dkCLndk;-><init>(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;I)V

    invoke-static {v4, v1, v2, v3, v5}, Lim/tpelyyftgw/ui/components/AlertsCreator;->createVibrationSelectDialog(Landroid/app/Activity;JLjava/lang/String;Ljava/lang/Runnable;)Landroid/app/Dialog;

    move-result-object v1

    invoke-virtual {v9, v1}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->showDialog(Landroid/app/Dialog;)Landroid/app/Dialog;

    .end local v0    # "textCell":Lim/tpelyyftgw/ui/components/TextCell;
    .end local v3    # "key":Ljava/lang/String;
    goto :goto_286

    .line 538
    :cond_260
    iget v0, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->messagePriorityRow:I

    if-ne v11, v0, :cond_286

    .line 539
    instance-of v0, v10, Lim/tpelyyftgw/ui/components/TextCell;

    if-nez v0, :cond_269

    .line 540
    return-void

    .line 542
    :cond_269
    move-object v0, v10

    check-cast v0, Lim/tpelyyftgw/ui/components/TextCell;

    .line 543
    .restart local v0    # "textCell":Lim/tpelyyftgw/ui/components/TextCell;
    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/TextCell;->isContainerEnabled()Z

    move-result v3

    if-nez v3, :cond_273

    .line 544
    return-void

    .line 546
    :cond_273
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v3

    iget v4, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentType:I

    new-instance v5, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$Cc4gHF5NfkR_rfsVOIOiwSFVo8Y;

    invoke-direct {v5, v9, v11}, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$Cc4gHF5NfkR_rfsVOIOiwSFVo8Y;-><init>(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;I)V

    invoke-static {v3, v1, v2, v4, v5}, Lim/tpelyyftgw/ui/components/AlertsCreator;->createPrioritySelectDialog(Landroid/app/Activity;JILjava/lang/Runnable;)Landroid/app/Dialog;

    move-result-object v1

    invoke-virtual {v9, v1}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->showDialog(Landroid/app/Dialog;)Landroid/app/Dialog;

    goto :goto_287

    .line 538
    .end local v0    # "textCell":Lim/tpelyyftgw/ui/components/TextCell;
    :cond_286
    :goto_286
    nop

    .line 553
    :goto_287
    instance-of v0, v10, Lim/tpelyyftgw/ui/components/TextSwitchCell;

    if-eqz v0, :cond_293

    .line 554
    move-object v0, v10

    check-cast v0, Lim/tpelyyftgw/ui/components/TextSwitchCell;

    xor-int/lit8 v1, v12, 0x1

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/TextSwitchCell;->setChecked(Z)V

    .line 556
    :cond_293
    return-void

    .line 228
    :cond_294
    :goto_294
    iget-object v0, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;

    move-result-object v0

    iget-object v1, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->searchAdapter:Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$SearchAdapter;

    if-ne v0, v1, :cond_30a

    .line 229
    invoke-virtual {v1, v11}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$SearchAdapter;->getObject(I)Ljava/lang/Object;

    move-result-object v0

    .line 230
    .local v0, "object":Ljava/lang/Object;
    instance-of v1, v0, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;

    if-eqz v1, :cond_2b1

    .line 231
    iget-object v1, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->searchAdapter:Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$SearchAdapter;

    invoke-static {v1}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$SearchAdapter;->access$3600(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$SearchAdapter;)Ljava/util/ArrayList;

    move-result-object v1

    .line 232
    .local v1, "arrayList":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    move-object v2, v0

    check-cast v2, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;

    .line 233
    .local v2, "exception":Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    const/4 v3, 0x0

    .local v3, "newException":Z
    goto :goto_306

    .line 236
    .end local v1    # "arrayList":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .end local v2    # "exception":Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    .end local v3    # "newException":Z
    :cond_2b1
    instance-of v1, v0, Lim/tpelyyftgw/tgnet/TLRPC$User;

    if-eqz v1, :cond_2bc

    .line 237
    move-object v1, v0

    check-cast v1, Lim/tpelyyftgw/tgnet/TLRPC$User;

    .line 238
    .local v1, "user":Lim/tpelyyftgw/tgnet/TLRPC$User;
    iget v2, v1, Lim/tpelyyftgw/tgnet/TLRPC$User;->id:I

    int-to-long v1, v2

    .line 239
    .local v1, "did":J
    goto :goto_2c4

    .line 240
    .end local v1    # "did":J
    :cond_2bc
    move-object v1, v0

    check-cast v1, Lim/tpelyyftgw/tgnet/TLRPC$Chat;

    .line 241
    .local v1, "chat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
    iget v2, v1, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->id:I

    neg-int v2, v2

    int-to-long v2, v2

    move-wide v1, v2

    .line 243
    .local v1, "did":J
    :goto_2c4
    iget-object v3, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsDict:Ljava/util/HashMap;

    invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2de

    .line 244
    iget-object v3, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsDict:Ljava/util/HashMap;

    invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;

    .line 245
    .local v3, "exception":Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    const/4 v4, 0x0

    .local v4, "newException":Z
    goto :goto_301

    .line 247
    .end local v3    # "exception":Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    .end local v4    # "newException":Z
    :cond_2de
    const/4 v3, 0x1

    .line 248
    .local v3, "newException":Z
    new-instance v4, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;

    invoke-direct {v4}, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;-><init>()V

    .line 249
    .local v4, "exception":Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    iput-wide v1, v4, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->did:J

    .line 250
    instance-of v5, v0, Lim/tpelyyftgw/tgnet/TLRPC$User;

    if-eqz v5, :cond_2f3

    .line 251
    move-object v5, v0

    check-cast v5, Lim/tpelyyftgw/tgnet/TLRPC$User;

    .line 252
    .local v5, "user":Lim/tpelyyftgw/tgnet/TLRPC$User;
    iget v6, v5, Lim/tpelyyftgw/tgnet/TLRPC$User;->id:I

    int-to-long v6, v6

    iput-wide v6, v4, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->did:J

    .line 253
    .end local v5    # "user":Lim/tpelyyftgw/tgnet/TLRPC$User;
    goto :goto_2fc

    .line 254
    :cond_2f3
    move-object v5, v0

    check-cast v5, Lim/tpelyyftgw/tgnet/TLRPC$Chat;

    .line 255
    .local v5, "chat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
    iget v6, v5, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->id:I

    neg-int v6, v6

    int-to-long v6, v6

    iput-wide v6, v4, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->did:J

    .line 258
    .end local v5    # "chat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
    :goto_2fc
    move-object/from16 v20, v4

    move v4, v3

    move-object/from16 v3, v20

    .local v3, "exception":Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    .local v4, "newException":Z
    :goto_301
    iget-object v5, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    move-object v2, v3

    move v3, v4

    move-object v1, v5

    .line 260
    .end local v0    # "object":Ljava/lang/Object;
    .end local v4    # "newException":Z
    .local v1, "arrayList":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .restart local v2    # "exception":Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    .local v3, "newException":Z
    :goto_306
    move-object v0, v1

    move-object v13, v2

    move v14, v3

    goto :goto_323

    .line 261
    .end local v1    # "arrayList":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .end local v2    # "exception":Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    .end local v3    # "newException":Z
    :cond_30a
    iget-object v1, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    .line 262
    .restart local v1    # "arrayList":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    iget v0, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsStartRow:I

    sub-int v0, v11, v0

    .line 263
    .local v0, "index":I
    if-ltz v0, :cond_34f

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-lt v0, v2, :cond_319

    goto :goto_34f

    .line 266
    :cond_319
    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;

    .line 267
    .restart local v2    # "exception":Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    const/4 v3, 0x0

    move-object v0, v1

    move-object v13, v2

    move v14, v3

    .line 269
    .end local v1    # "arrayList":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .end local v2    # "exception":Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    .local v0, "arrayList":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .local v13, "exception":Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    .local v14, "newException":Z
    :goto_323
    if-nez v13, :cond_326

    .line 270
    return-void

    .line 273
    :cond_326
    iget-wide v7, v13, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->did:J

    const/4 v15, -0x1

    const/16 v16, 0x0

    iget v6, v9, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentAccount:I

    const/16 v17, 0x0

    new-instance v18, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$Nuv6gWOaUK51H8gMGBW7ZhOLDlk;

    move-object/from16 v1, v18

    move-object/from16 v2, p0

    move v3, v14

    move-object v4, v0

    move-object v5, v13

    move/from16 v19, v6

    move/from16 v6, p2

    invoke-direct/range {v1 .. v6}, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$Nuv6gWOaUK51H8gMGBW7ZhOLDlk;-><init>(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;ZLjava/util/ArrayList;Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;I)V

    move-object/from16 v1, p0

    move-wide v2, v7

    move v4, v15

    move-object/from16 v5, v16

    move/from16 v6, v19

    move-object/from16 v7, v17

    move-object/from16 v8, v18

    invoke-static/range {v1 .. v8}, Lim/tpelyyftgw/ui/components/AlertsCreator;->showCustomNotificationsDialog(Lim/tpelyyftgw/ui/actionbar/BaseFragment;JILjava/util/ArrayList;ILim/tpelyyftgw/messenger/MessagesStorage$IntCallback;Lim/tpelyyftgw/messenger/MessagesStorage$IntCallback;)V

    .line 317
    return-void

    .line 264
    .end local v13    # "exception":Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    .end local v14    # "newException":Z
    .local v0, "index":I
    .restart local v1    # "arrayList":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    :cond_34f
    :goto_34f
    return-void
.end method

.method public synthetic lambda$loadExceptions$11$NotificationsCustomSettingsActivity()V
    .registers 26

    .line 631
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    move-object v9, v0

    .line 632
    .local v9, "usersResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    move-object v10, v0

    .line 633
    .local v10, "chatsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    move-object v11, v0

    .line 634
    .local v11, "channelsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    new-instance v0, Landroid/util/LongSparseArray;

    invoke-direct {v0}, Landroid/util/LongSparseArray;-><init>()V

    move-object v12, v0

    .line 636
    .local v12, "waitingForLoadExceptions":Landroid/util/LongSparseArray;, "Landroid/util/LongSparseArray<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    move-object v13, v0

    .line 637
    .local v13, "usersToLoad":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Ljava/lang/Integer;>;"
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    move-object v14, v0

    .line 638
    .local v14, "chatsToLoad":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Ljava/lang/Integer;>;"
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    move-object v15, v0

    .line 640
    .local v15, "encryptedChatsToLoad":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Ljava/lang/Integer;>;"
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    move-object v8, v0

    .line 641
    .local v8, "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    move-object v7, v0

    .line 642
    .local v7, "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    move-object v6, v0

    .line 643
    .local v6, "encryptedChats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;>;"
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getUserConfig()Lim/tpelyyftgw/messenger/UserConfig;

    move-result-object v0

    iget v5, v0, Lim/tpelyyftgw/messenger/UserConfig;->clientUserId:I

    .line 645
    .local v5, "selfId":I
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getNotificationsSettings()Landroid/content/SharedPreferences;

    move-result-object v4

    .line 646
    .local v4, "preferences":Landroid/content/SharedPreferences;
    invoke-interface {v4}, Landroid/content/SharedPreferences;->getAll()Ljava/util/Map;

    move-result-object v3

    .line 647
    .local v3, "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    invoke-interface {v3}, Ljava/util/Map;->entrySet()Ljava/util/Set;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_52
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_226

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/Map$Entry;

    .line 648
    .local v1, "entry":Ljava/util/Map$Entry;, "Ljava/util/Map$Entry<Ljava/lang/String;*>;"
    invoke-interface {v1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v16

    move-object/from16 v2, v16

    check-cast v2, Ljava/lang/String;

    .line 649
    .local v2, "key":Ljava/lang/String;
    move-object/from16 v16, v0

    const-string v0, "notify2_"

    invoke-virtual {v2, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v18

    if-eqz v18, :cond_210

    .line 650
    move-object/from16 v18, v7

    .end local v7    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    .local v18, "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    const-string v7, ""

    invoke-virtual {v2, v0, v7}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    .line 652
    .end local v2    # "key":Ljava/lang/String;
    .local v0, "key":Ljava/lang/String;
    invoke-static {v0}, Lim/tpelyyftgw/messenger/Utilities;->parseLong(Ljava/lang/String;)Ljava/lang/Long;

    move-result-object v2

    move-object/from16 v19, v8

    .end local v8    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    .local v19, "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    invoke-virtual {v2}, Ljava/lang/Long;->longValue()J

    move-result-wide v7

    .line 653
    .local v7, "did":J
    const-wide/16 v20, 0x0

    cmp-long v2, v7, v20

    if-eqz v2, :cond_207

    move-object/from16 v20, v10

    move-object/from16 v21, v11

    .end local v10    # "chatsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .end local v11    # "channelsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .local v20, "chatsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .local v21, "channelsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    int-to-long v10, v5

    cmp-long v2, v7, v10

    if-eqz v2, :cond_1fa

    .line 654
    new-instance v2, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;

    invoke-direct {v2}, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;-><init>()V

    .line 655
    .local v2, "exception":Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    iput-wide v7, v2, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->did:J

    .line 656
    new-instance v10, Ljava/lang/StringBuilder;

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

    const-string v11, "custom_"

    invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v10, v7, v8}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    const/4 v11, 0x0

    invoke-interface {v4, v10, v11}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v10

    iput-boolean v10, v2, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->hasCustom:Z

    .line 657
    invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;

    move-result-object v10

    check-cast v10, Ljava/lang/Integer;

    invoke-virtual {v10}, Ljava/lang/Integer;->intValue()I

    move-result v10

    iput v10, v2, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->notify:I

    .line 658
    iget v10, v2, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->notify:I

    if-eqz v10, :cond_df

    .line 659
    new-instance v10, Ljava/lang/StringBuilder;

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

    const-string v11, "notifyuntil_"

    invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v10, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-interface {v3, v10}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v10

    check-cast v10, Ljava/lang/Integer;

    .line 660
    .local v10, "time":Ljava/lang/Integer;
    if-eqz v10, :cond_df

    .line 661
    invoke-virtual {v10}, Ljava/lang/Integer;->intValue()I

    move-result v11

    iput v11, v2, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->muteUntil:I

    .line 665
    .end local v10    # "time":Ljava/lang/Integer;
    :cond_df
    long-to-int v10, v7

    .line 666
    .local v10, "lower_id":I
    move-object/from16 v22, v0

    move-object/from16 v17, v1

    const/16 v11, 0x20

    .end local v0    # "key":Ljava/lang/String;
    .end local v1    # "entry":Ljava/util/Map$Entry;, "Ljava/util/Map$Entry<Ljava/lang/String;*>;"
    .local v17, "entry":Ljava/util/Map$Entry;, "Ljava/util/Map$Entry<Ljava/lang/String;*>;"
    .local v22, "key":Ljava/lang/String;
    shl-long v0, v7, v11

    long-to-int v1, v0

    .line 667
    .local v1, "high_id":I
    if-eqz v10, :cond_192

    .line 668
    if-lez v10, :cond_123

    .line 669
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getMessagesController()Lim/tpelyyftgw/messenger/MessagesController;

    move-result-object v0

    invoke-static {v10}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v11

    invoke-virtual {v0, v11}, Lim/tpelyyftgw/messenger/MessagesController;->getUser(Ljava/lang/Integer;)Lim/tpelyyftgw/tgnet/TLRPC$User;

    move-result-object v0

    .line 670
    .local v0, "user":Lim/tpelyyftgw/tgnet/TLRPC$User;
    if-nez v0, :cond_106

    .line 671
    invoke-static {v10}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v11

    invoke-virtual {v13, v11}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 672
    invoke-virtual {v12, v7, v8, v2}, Landroid/util/LongSparseArray;->put(JLjava/lang/Object;)V

    goto :goto_116

    .line 673
    :cond_106
    iget-boolean v11, v0, Lim/tpelyyftgw/tgnet/TLRPC$User;->deleted:Z

    if-eqz v11, :cond_116

    .line 674
    move-object/from16 v0, v16

    move-object/from16 v7, v18

    move-object/from16 v8, v19

    move-object/from16 v10, v20

    move-object/from16 v11, v21

    goto/16 :goto_52

    .line 676
    :cond_116
    :goto_116
    invoke-virtual {v9, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 677
    .end local v0    # "user":Lim/tpelyyftgw/tgnet/TLRPC$User;
    move-object/from16 v24, v4

    move-object/from16 v10, v20

    move-object/from16 v11, v21

    move-object/from16 v20, v3

    goto/16 :goto_21a

    .line 678
    :cond_123
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getMessagesController()Lim/tpelyyftgw/messenger/MessagesController;

    move-result-object v0

    neg-int v11, v10

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v11

    invoke-virtual {v0, v11}, Lim/tpelyyftgw/messenger/MessagesController;->getChat(Ljava/lang/Integer;)Lim/tpelyyftgw/tgnet/TLRPC$Chat;

    move-result-object v0

    .line 679
    .local v0, "chat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
    if-nez v0, :cond_149

    .line 680
    neg-int v11, v10

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v11

    invoke-virtual {v14, v11}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 681
    invoke-virtual {v12, v7, v8, v2}, Landroid/util/LongSparseArray;->put(JLjava/lang/Object;)V

    .line 682
    move-object/from16 v0, v16

    move-object/from16 v7, v18

    move-object/from16 v8, v19

    move-object/from16 v10, v20

    move-object/from16 v11, v21

    goto/16 :goto_52

    .line 683
    :cond_149
    iget-boolean v11, v0, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->left:Z

    if-nez v11, :cond_184

    iget-boolean v11, v0, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->kicked:Z

    if-nez v11, :cond_184

    iget-object v11, v0, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->migrated_to:Lim/tpelyyftgw/tgnet/TLRPC$InputChannel;

    if-eqz v11, :cond_161

    .line 684
    move-object/from16 v0, v16

    move-object/from16 v7, v18

    move-object/from16 v8, v19

    move-object/from16 v10, v20

    move-object/from16 v11, v21

    goto/16 :goto_52

    .line 686
    :cond_161
    invoke-static {v0}, Lim/tpelyyftgw/messenger/ChatObject;->isChannel(Lim/tpelyyftgw/tgnet/TLRPC$Chat;)Z

    move-result v11

    if-eqz v11, :cond_175

    iget-boolean v11, v0, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->megagroup:Z

    if-nez v11, :cond_175

    .line 687
    move-object/from16 v11, v21

    .end local v21    # "channelsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .restart local v11    # "channelsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    invoke-virtual {v11, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    move/from16 v21, v10

    move-object/from16 v10, v20

    goto :goto_17e

    .line 686
    .end local v11    # "channelsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .restart local v21    # "channelsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    :cond_175
    move-object/from16 v11, v21

    .line 689
    .end local v21    # "channelsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .restart local v11    # "channelsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    move/from16 v21, v10

    move-object/from16 v10, v20

    .end local v20    # "chatsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .local v10, "chatsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .local v21, "lower_id":I
    invoke-virtual {v10, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 691
    .end local v0    # "chat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
    :goto_17e
    move-object/from16 v20, v3

    move-object/from16 v24, v4

    goto/16 :goto_21a

    .line 683
    .end local v11    # "channelsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .restart local v0    # "chat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
    .local v10, "lower_id":I
    .restart local v20    # "chatsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .local v21, "channelsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    :cond_184
    move-object/from16 v11, v21

    move/from16 v21, v10

    move-object/from16 v10, v20

    .end local v20    # "chatsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .local v10, "chatsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .restart local v11    # "channelsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .local v21, "lower_id":I
    move-object/from16 v0, v16

    move-object/from16 v7, v18

    move-object/from16 v8, v19

    goto/16 :goto_52

    .line 692
    .end local v0    # "chat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
    .end local v11    # "channelsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .local v10, "lower_id":I
    .restart local v20    # "chatsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .local v21, "channelsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    :cond_192
    move-object/from16 v11, v21

    move/from16 v21, v10

    move-object/from16 v10, v20

    .end local v20    # "chatsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .local v10, "chatsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .restart local v11    # "channelsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .local v21, "lower_id":I
    if-eqz v1, :cond_1f3

    .line 693
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getMessagesController()Lim/tpelyyftgw/messenger/MessagesController;

    move-result-object v0

    move-object/from16 v20, v3

    .end local v3    # "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    .local v20, "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v0, v3}, Lim/tpelyyftgw/messenger/MessagesController;->getEncryptedChat(Ljava/lang/Integer;)Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;

    move-result-object v0

    .line 694
    .local v0, "encryptedChat":Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;
    if-nez v0, :cond_1b9

    .line 695
    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v15, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 696
    invoke-virtual {v12, v7, v8, v2}, Landroid/util/LongSparseArray;->put(JLjava/lang/Object;)V

    move/from16 v23, v1

    move-object/from16 v24, v4

    goto :goto_1ef

    .line 698
    :cond_1b9
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getMessagesController()Lim/tpelyyftgw/messenger/MessagesController;

    move-result-object v3

    move/from16 v23, v1

    .end local v1    # "high_id":I
    .local v23, "high_id":I
    iget v1, v0, Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;->user_id:I

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v3, v1}, Lim/tpelyyftgw/messenger/MessagesController;->getUser(Ljava/lang/Integer;)Lim/tpelyyftgw/tgnet/TLRPC$User;

    move-result-object v1

    .line 699
    .local v1, "user":Lim/tpelyyftgw/tgnet/TLRPC$User;
    if-nez v1, :cond_1dd

    .line 700
    iget v3, v0, Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;->user_id:I

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v13, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 701
    iget v3, v0, Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;->user_id:I

    move-object/from16 v24, v4

    .end local v4    # "preferences":Landroid/content/SharedPreferences;
    .local v24, "preferences":Landroid/content/SharedPreferences;
    int-to-long v3, v3

    invoke-virtual {v12, v3, v4, v2}, Landroid/util/LongSparseArray;->put(JLjava/lang/Object;)V

    goto :goto_1ef

    .line 702
    .end local v24    # "preferences":Landroid/content/SharedPreferences;
    .restart local v4    # "preferences":Landroid/content/SharedPreferences;
    :cond_1dd
    move-object/from16 v24, v4

    .end local v4    # "preferences":Landroid/content/SharedPreferences;
    .restart local v24    # "preferences":Landroid/content/SharedPreferences;
    iget-boolean v3, v1, Lim/tpelyyftgw/tgnet/TLRPC$User;->deleted:Z

    if-eqz v3, :cond_1ef

    .line 703
    move-object/from16 v0, v16

    move-object/from16 v7, v18

    move-object/from16 v8, v19

    move-object/from16 v3, v20

    move-object/from16 v4, v24

    goto/16 :goto_52

    .line 706
    .end local v1    # "user":Lim/tpelyyftgw/tgnet/TLRPC$User;
    :cond_1ef
    :goto_1ef
    invoke-virtual {v9, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_21a

    .line 692
    .end local v0    # "encryptedChat":Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;
    .end local v20    # "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    .end local v23    # "high_id":I
    .end local v24    # "preferences":Landroid/content/SharedPreferences;
    .local v1, "high_id":I
    .restart local v3    # "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    .restart local v4    # "preferences":Landroid/content/SharedPreferences;
    :cond_1f3
    move/from16 v23, v1

    move-object/from16 v20, v3

    move-object/from16 v24, v4

    .end local v1    # "high_id":I
    .end local v3    # "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    .end local v4    # "preferences":Landroid/content/SharedPreferences;
    .restart local v20    # "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    .restart local v23    # "high_id":I
    .restart local v24    # "preferences":Landroid/content/SharedPreferences;
    goto :goto_21a

    .line 653
    .end local v2    # "exception":Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    .end local v10    # "chatsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .end local v11    # "channelsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .end local v17    # "entry":Ljava/util/Map$Entry;, "Ljava/util/Map$Entry<Ljava/lang/String;*>;"
    .end local v22    # "key":Ljava/lang/String;
    .end local v23    # "high_id":I
    .end local v24    # "preferences":Landroid/content/SharedPreferences;
    .local v0, "key":Ljava/lang/String;
    .local v1, "entry":Ljava/util/Map$Entry;, "Ljava/util/Map$Entry<Ljava/lang/String;*>;"
    .restart local v3    # "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    .restart local v4    # "preferences":Landroid/content/SharedPreferences;
    .local v20, "chatsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .local v21, "channelsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    :cond_1fa
    move-object/from16 v22, v0

    move-object/from16 v17, v1

    move-object/from16 v24, v4

    move-object/from16 v10, v20

    move-object/from16 v11, v21

    move-object/from16 v20, v3

    .end local v0    # "key":Ljava/lang/String;
    .end local v1    # "entry":Ljava/util/Map$Entry;, "Ljava/util/Map$Entry<Ljava/lang/String;*>;"
    .end local v3    # "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    .end local v4    # "preferences":Landroid/content/SharedPreferences;
    .end local v21    # "channelsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .restart local v10    # "chatsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .restart local v11    # "channelsResult":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;>;"
    .restart local v17    # "entry":Ljava/util/Map$Entry;, "Ljava/util/Map$Entry<Ljava/lang/String;*>;"
    .local v20, "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    .restart local v22    # "key":Ljava/lang/String;
    .restart local v24    # "preferences":Landroid/content/SharedPreferences;
    goto :goto_21a

    .end local v17    # "entry":Ljava/util/Map$Entry;, "Ljava/util/Map$Entry<Ljava/lang/String;*>;"
    .end local v20    # "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    .end local v22    # "key":Ljava/lang/String;
    .end local v24    # "preferences":Landroid/content/SharedPreferences;
    .restart local v0    # "key":Ljava/lang/String;
    .restart local v1    # "entry":Ljava/util/Map$Entry;, "Ljava/util/Map$Entry<Ljava/lang/String;*>;"
    .restart local v3    # "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    .restart local v4    # "preferences":Landroid/content/SharedPreferences;
    :cond_207
    move-object/from16 v22, v0

    move-object/from16 v17, v1

    move-object/from16 v20, v3

    move-object/from16 v24, v4

    .end local v0    # "key":Ljava/lang/String;
    .end local v1    # "entry":Ljava/util/Map$Entry;, "Ljava/util/Map$Entry<Ljava/lang/String;*>;"
    .end local v3    # "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    .end local v4    # "preferences":Landroid/content/SharedPreferences;
    .restart local v17    # "entry":Ljava/util/Map$Entry;, "Ljava/util/Map$Entry<Ljava/lang/String;*>;"
    .restart local v20    # "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    .restart local v22    # "key":Ljava/lang/String;
    .restart local v24    # "preferences":Landroid/content/SharedPreferences;
    goto :goto_21a

    .line 649
    .end local v17    # "entry":Ljava/util/Map$Entry;, "Ljava/util/Map$Entry<Ljava/lang/String;*>;"
    .end local v18    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    .end local v19    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    .end local v20    # "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    .end local v22    # "key":Ljava/lang/String;
    .end local v24    # "preferences":Landroid/content/SharedPreferences;
    .restart local v1    # "entry":Ljava/util/Map$Entry;, "Ljava/util/Map$Entry<Ljava/lang/String;*>;"
    .local v2, "key":Ljava/lang/String;
    .restart local v3    # "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    .restart local v4    # "preferences":Landroid/content/SharedPreferences;
    .local v7, "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    .restart local v8    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    :cond_210
    move-object/from16 v17, v1

    move-object/from16 v20, v3

    move-object/from16 v24, v4

    move-object/from16 v18, v7

    move-object/from16 v19, v8

    .line 710
    .end local v1    # "entry":Ljava/util/Map$Entry;, "Ljava/util/Map$Entry<Ljava/lang/String;*>;"
    .end local v2    # "key":Ljava/lang/String;
    .end local v3    # "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    .end local v4    # "preferences":Landroid/content/SharedPreferences;
    .end local v7    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    .end local v8    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    .restart local v18    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    .restart local v19    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    .restart local v20    # "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    .restart local v24    # "preferences":Landroid/content/SharedPreferences;
    :goto_21a
    move-object/from16 v0, v16

    move-object/from16 v7, v18

    move-object/from16 v8, v19

    move-object/from16 v3, v20

    move-object/from16 v4, v24

    goto/16 :goto_52

    .line 711
    .end local v18    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    .end local v19    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    .end local v20    # "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    .end local v24    # "preferences":Landroid/content/SharedPreferences;
    .restart local v3    # "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    .restart local v4    # "preferences":Landroid/content/SharedPreferences;
    .restart local v7    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    .restart local v8    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    :cond_226
    move-object/from16 v20, v3

    move-object/from16 v24, v4

    move-object/from16 v18, v7

    move-object/from16 v19, v8

    .end local v3    # "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    .end local v4    # "preferences":Landroid/content/SharedPreferences;
    .end local v7    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    .end local v8    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    .restart local v18    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    .restart local v19    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    .restart local v20    # "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    .restart local v24    # "preferences":Landroid/content/SharedPreferences;
    invoke-virtual {v12}, Landroid/util/LongSparseArray;->size()I

    move-result v0

    if-eqz v0, :cond_33a

    .line 713
    :try_start_234
    invoke-virtual {v15}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v0
    :try_end_238
    .catch Ljava/lang/Exception; {:try_start_234 .. :try_end_238} :catch_28b

    const-string v1, ","

    if-nez v0, :cond_24e

    .line 714
    :try_start_23c
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getMessagesStorage()Lim/tpelyyftgw/messenger/MessagesStorage;

    move-result-object v0

    invoke-static {v1, v15}, Landroid/text/TextUtils;->join(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2, v6, v13}, Lim/tpelyyftgw/messenger/MessagesStorage;->getEncryptedChatsInternal(Ljava/lang/String;Ljava/util/ArrayList;Ljava/util/ArrayList;)V
    :try_end_247
    .catch Ljava/lang/Exception; {:try_start_23c .. :try_end_247} :catch_248

    goto :goto_24e

    .line 722
    :catch_248
    move-exception v0

    move-object/from16 v7, v18

    move-object/from16 v8, v19

    goto :goto_290

    .line 716
    :cond_24e
    :goto_24e
    :try_start_24e
    invoke-virtual {v13}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v0
    :try_end_252
    .catch Ljava/lang/Exception; {:try_start_24e .. :try_end_252} :catch_28b

    if-nez v0, :cond_26c

    .line 717
    :try_start_254
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getMessagesStorage()Lim/tpelyyftgw/messenger/MessagesStorage;

    move-result-object v0

    invoke-static {v1, v13}, Landroid/text/TextUtils;->join(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;

    move-result-object v2
    :try_end_25c
    .catch Ljava/lang/Exception; {:try_start_254 .. :try_end_25c} :catch_266

    move-object/from16 v8, v19

    .end local v19    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    .restart local v8    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    :try_start_25e
    invoke-virtual {v0, v2, v8}, Lim/tpelyyftgw/messenger/MessagesStorage;->getUsersInternal(Ljava/lang/String;Ljava/util/ArrayList;)V
    :try_end_261
    .catch Ljava/lang/Exception; {:try_start_25e .. :try_end_261} :catch_262

    goto :goto_26e

    .line 722
    :catch_262
    move-exception v0

    move-object/from16 v7, v18

    goto :goto_290

    .end local v8    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    .restart local v19    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    :catch_266
    move-exception v0

    move-object/from16 v8, v19

    move-object/from16 v7, v18

    .end local v19    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    .restart local v8    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    goto :goto_290

    .line 716
    .end local v8    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    .restart local v19    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    :cond_26c
    move-object/from16 v8, v19

    .line 719
    .end local v19    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    .restart local v8    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    :goto_26e
    :try_start_26e
    invoke-virtual {v14}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_284

    .line 720
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getMessagesStorage()Lim/tpelyyftgw/messenger/MessagesStorage;

    move-result-object v0

    invoke-static {v1, v14}, Landroid/text/TextUtils;->join(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;

    move-result-object v1
    :try_end_27c
    .catch Ljava/lang/Exception; {:try_start_26e .. :try_end_27c} :catch_287

    move-object/from16 v7, v18

    .end local v18    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    .restart local v7    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    :try_start_27e
    invoke-virtual {v0, v1, v7}, Lim/tpelyyftgw/messenger/MessagesStorage;->getChatsInternal(Ljava/lang/String;Ljava/util/ArrayList;)V
    :try_end_281
    .catch Ljava/lang/Exception; {:try_start_27e .. :try_end_281} :catch_282

    goto :goto_286

    .line 722
    :catch_282
    move-exception v0

    goto :goto_290

    .line 719
    .end local v7    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    .restart local v18    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    :cond_284
    move-object/from16 v7, v18

    .line 724
    .end local v18    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    .restart local v7    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    :goto_286
    goto :goto_293

    .line 722
    .end local v7    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    .restart local v18    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    :catch_287
    move-exception v0

    move-object/from16 v7, v18

    .end local v18    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    .restart local v7    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    goto :goto_290

    .end local v7    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    .end local v8    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    .restart local v18    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    .restart local v19    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    :catch_28b
    move-exception v0

    move-object/from16 v7, v18

    move-object/from16 v8, v19

    .line 723
    .end local v18    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    .end local v19    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    .local v0, "e":Ljava/lang/Exception;
    .restart local v7    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    .restart local v8    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    :goto_290
    invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V

    .line 725
    .end local v0    # "e":Ljava/lang/Exception;
    :goto_293
    const/4 v0, 0x0

    .local v0, "a":I
    invoke-virtual {v7}, Ljava/util/ArrayList;->size()I

    move-result v1

    .local v1, "size":I
    :goto_298
    if-ge v0, v1, :cond_2dd

    .line 726
    invoke-virtual {v7, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lim/tpelyyftgw/tgnet/TLRPC$Chat;

    .line 727
    .local v2, "chat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
    iget-boolean v3, v2, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->left:Z

    if-nez v3, :cond_2d6

    iget-boolean v3, v2, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->kicked:Z

    if-nez v3, :cond_2d6

    iget-object v3, v2, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->migrated_to:Lim/tpelyyftgw/tgnet/TLRPC$InputChannel;

    if-eqz v3, :cond_2af

    .line 728
    move/from16 v16, v5

    goto :goto_2d8

    .line 730
    :cond_2af
    iget v3, v2, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->id:I

    neg-int v3, v3

    int-to-long v3, v3

    invoke-virtual {v12, v3, v4}, Landroid/util/LongSparseArray;->get(J)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;

    .line 731
    .local v3, "exception":Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    iget v4, v2, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->id:I

    neg-int v4, v4

    move/from16 v16, v5

    .end local v5    # "selfId":I
    .local v16, "selfId":I
    int-to-long v4, v4

    invoke-virtual {v12, v4, v5}, Landroid/util/LongSparseArray;->remove(J)V

    .line 733
    if-eqz v3, :cond_2d8

    .line 734
    invoke-static {v2}, Lim/tpelyyftgw/messenger/ChatObject;->isChannel(Lim/tpelyyftgw/tgnet/TLRPC$Chat;)Z

    move-result v4

    if-eqz v4, :cond_2d2

    iget-boolean v4, v2, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->megagroup:Z

    if-nez v4, :cond_2d2

    .line 735
    invoke-virtual {v11, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_2d8

    .line 737
    :cond_2d2
    invoke-virtual {v10, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_2d8

    .line 727
    .end local v3    # "exception":Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    .end local v16    # "selfId":I
    .restart local v5    # "selfId":I
    :cond_2d6
    move/from16 v16, v5

    .line 725
    .end local v2    # "chat":Lim/tpelyyftgw/tgnet/TLRPC$Chat;
    .end local v5    # "selfId":I
    .restart local v16    # "selfId":I
    :cond_2d8
    :goto_2d8
    add-int/lit8 v0, v0, 0x1

    move/from16 v5, v16

    goto :goto_298

    .end local v16    # "selfId":I
    .restart local v5    # "selfId":I
    :cond_2dd
    move/from16 v16, v5

    .line 741
    .end local v0    # "a":I
    .end local v1    # "size":I
    .end local v5    # "selfId":I
    .restart local v16    # "selfId":I
    const/4 v0, 0x0

    .restart local v0    # "a":I
    invoke-virtual {v8}, Ljava/util/ArrayList;->size()I

    move-result v1

    .restart local v1    # "size":I
    :goto_2e4
    if-ge v0, v1, :cond_2fa

    .line 742
    invoke-virtual {v8, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lim/tpelyyftgw/tgnet/TLRPC$User;

    .line 743
    .local v2, "user":Lim/tpelyyftgw/tgnet/TLRPC$User;
    iget-boolean v3, v2, Lim/tpelyyftgw/tgnet/TLRPC$User;->deleted:Z

    if-eqz v3, :cond_2f1

    .line 744
    goto :goto_2f7

    .line 746
    :cond_2f1
    iget v3, v2, Lim/tpelyyftgw/tgnet/TLRPC$User;->id:I

    int-to-long v3, v3

    invoke-virtual {v12, v3, v4}, Landroid/util/LongSparseArray;->remove(J)V

    .line 741
    .end local v2    # "user":Lim/tpelyyftgw/tgnet/TLRPC$User;
    :goto_2f7
    add-int/lit8 v0, v0, 0x1

    goto :goto_2e4

    .line 748
    .end local v0    # "a":I
    .end local v1    # "size":I
    :cond_2fa
    const/4 v0, 0x0

    .restart local v0    # "a":I
    invoke-virtual {v6}, Ljava/util/ArrayList;->size()I

    move-result v1

    .restart local v1    # "size":I
    :goto_2ff
    if-ge v0, v1, :cond_313

    .line 749
    invoke-virtual {v6, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;

    .line 750
    .local v2, "encryptedChat":Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;
    iget v3, v2, Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;->id:I

    int-to-long v3, v3

    const/16 v5, 0x20

    shl-long/2addr v3, v5

    invoke-virtual {v12, v3, v4}, Landroid/util/LongSparseArray;->remove(J)V

    .line 748
    .end local v2    # "encryptedChat":Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;
    add-int/lit8 v0, v0, 0x1

    goto :goto_2ff

    .line 752
    .end local v0    # "a":I
    .end local v1    # "size":I
    :cond_313
    const/4 v0, 0x0

    .restart local v0    # "a":I
    invoke-virtual {v12}, Landroid/util/LongSparseArray;->size()I

    move-result v1

    .restart local v1    # "size":I
    :goto_318
    if-ge v0, v1, :cond_340

    .line 753
    invoke-virtual {v12, v0}, Landroid/util/LongSparseArray;->keyAt(I)J

    move-result-wide v2

    .line 754
    .local v2, "did":J
    long-to-int v4, v2

    if-gez v4, :cond_330

    .line 755
    invoke-virtual {v12, v0}, Landroid/util/LongSparseArray;->valueAt(I)Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v10, v4}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    .line 756
    invoke-virtual {v12, v0}, Landroid/util/LongSparseArray;->valueAt(I)Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v11, v4}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    goto :goto_337

    .line 758
    :cond_330
    invoke-virtual {v12, v0}, Landroid/util/LongSparseArray;->valueAt(I)Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v9, v4}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    .line 752
    .end local v2    # "did":J
    :goto_337
    add-int/lit8 v0, v0, 0x1

    goto :goto_318

    .line 711
    .end local v0    # "a":I
    .end local v1    # "size":I
    .end local v7    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    .end local v8    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    .end local v16    # "selfId":I
    .restart local v5    # "selfId":I
    .restart local v18    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    .restart local v19    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    :cond_33a
    move/from16 v16, v5

    move-object/from16 v7, v18

    move-object/from16 v8, v19

    .line 762
    .end local v5    # "selfId":I
    .end local v18    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    .end local v19    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    .restart local v7    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    .restart local v8    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    .restart local v16    # "selfId":I
    :cond_340
    new-instance v0, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$QADgNAHvKPN6kGzpjiLRFcWanYI;

    move-object v1, v0

    move-object/from16 v2, p0

    move-object/from16 v17, v20

    .end local v20    # "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    .local v17, "values":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;*>;"
    move-object v3, v8

    move-object/from16 v18, v24

    .end local v24    # "preferences":Landroid/content/SharedPreferences;
    .local v18, "preferences":Landroid/content/SharedPreferences;
    move-object v4, v7

    move-object v5, v6

    move-object/from16 v19, v6

    .end local v6    # "encryptedChats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;>;"
    .local v19, "encryptedChats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$EncryptedChat;>;"
    move-object v6, v9

    move-object/from16 v20, v7

    .end local v7    # "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    .local v20, "chats":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$Chat;>;"
    move-object v7, v10

    move-object/from16 v21, v8

    .end local v8    # "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    .local v21, "users":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lim/tpelyyftgw/tgnet/TLRPC$User;>;"
    move-object v8, v11

    invoke-direct/range {v1 .. v8}, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$QADgNAHvKPN6kGzpjiLRFcWanYI;-><init>(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/util/ArrayList;)V

    invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->runOnUIThread(Ljava/lang/Runnable;)V

    .line 776
    return-void
.end method

.method public synthetic lambda$null$0$NotificationsCustomSettingsActivity(ZLjava/util/ArrayList;Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;II)V
    .registers 12
    .param p1, "newException"    # Z
    .param p2, "arrayList"    # Ljava/util/ArrayList;
    .param p3, "exception"    # Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    .param p4, "position"    # I
    .param p5, "param"    # I

    .line 274
    const/4 v0, -0x1

    if-nez p5, :cond_68

    .line 275
    if-eqz p1, :cond_6

    .line 276
    return-void

    .line 278
    :cond_6
    iget-object v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    if-eq p2, v1, :cond_20

    .line 279
    invoke-virtual {v1, p3}, Ljava/util/ArrayList;->indexOf(Ljava/lang/Object;)I

    move-result v1

    .line 280
    .local v1, "idx":I
    if-ltz v1, :cond_20

    .line 281
    iget-object v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    .line 282
    iget-object v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsDict:Ljava/util/HashMap;

    iget-wide v3, p3, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->did:J

    invoke-static {v3, v4}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    .line 285
    .end local v1    # "idx":I
    :cond_20
    invoke-virtual {p2, p3}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    .line 286
    iget v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsAddRow:I

    if-eq v1, v0, :cond_52

    invoke-virtual {p2}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_52

    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    if-ne p2, v0, :cond_52

    .line 287
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;

    move-result-object v0

    iget v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsAddRow:I

    invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyItemChanged(I)V

    .line 288
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;

    move-result-object v0

    iget v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->deleteAllRow:I

    invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyItemRemoved(I)V

    .line 289
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;

    move-result-object v0

    iget v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->deleteAllSectionRow:I

    invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyItemRemoved(I)V

    .line 291
    :cond_52
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;

    move-result-object v0

    invoke-virtual {v0, p4}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyItemRemoved(I)V

    .line 293
    invoke-direct {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->updateRows()V

    .line 294
    invoke-direct {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->checkRowsEnabled()V

    .line 295
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->closeSearchField()V

    goto/16 :goto_e7

    .line 297
    :cond_68
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getNotificationsSettings()Landroid/content/SharedPreferences;

    move-result-object v1

    .line 298
    .local v1, "preferences":Landroid/content/SharedPreferences;
    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-wide v3, p3, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->did:J

    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;->getBoolean(Ljava/lang/String;Z)Z

    move-result v2

    iput-boolean v2, p3, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->hasCustom:Z

    .line 299
    new-instance v2, Ljava/lang/StringBuilder;

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

    const-string v4, "notify2_"

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-wide v4, p3, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->did:J

    invoke-virtual {v2, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v2

    iput v2, p3, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->notify:I

    .line 300
    iget v2, p3, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->notify:I

    if-eqz v2, :cond_be

    .line 301
    new-instance v2, Ljava/lang/StringBuilder;

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

    const-string v3, "notifyuntil_"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-wide v3, p3, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->did:J

    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

    invoke-interface {v1, v2, v0}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v2

    .line 302
    .local v2, "time":I
    if-eq v2, v0, :cond_be

    .line 303
    iput v2, p3, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->muteUntil:I

    .line 306
    .end local v2    # "time":I
    :cond_be
    if-eqz p1, :cond_d9

    .line 307
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    invoke-virtual {v0, p3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 308
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsDict:Ljava/util/HashMap;

    iget-wide v2, p3, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->did:J

    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v2

    invoke-virtual {v0, v2, p3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 309
    invoke-direct {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->updateRows()V

    .line 310
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->adapter:Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;->notifyDataSetChanged()V

    goto :goto_e2

    .line 312
    :cond_d9
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;

    move-result-object v0

    invoke-virtual {v0, p4}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyItemChanged(I)V

    .line 314
    :goto_e2
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->actionBar:Lim/tpelyyftgw/ui/actionbar/ActionBar;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->closeSearchField()V

    .line 316
    .end local v1    # "preferences":Landroid/content/SharedPreferences;
    :goto_e7
    return-void
.end method

.method public synthetic lambda$null$1$NotificationsCustomSettingsActivity(Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;)V
    .registers 4
    .param p1, "exception"    # Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;

    .line 337
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    const/4 v1, 0x0

    invoke-virtual {v0, v1, p1}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V

    .line 338
    invoke-direct {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->updateRows()V

    .line 339
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->adapter:Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;->notifyDataSetChanged()V

    .line 340
    return-void
.end method

.method public synthetic lambda$null$10$NotificationsCustomSettingsActivity(Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/util/ArrayList;)V
    .registers 9
    .param p1, "users"    # Ljava/util/ArrayList;
    .param p2, "chats"    # Ljava/util/ArrayList;
    .param p3, "encryptedChats"    # Ljava/util/ArrayList;
    .param p4, "usersResult"    # Ljava/util/ArrayList;
    .param p5, "chatsResult"    # Ljava/util/ArrayList;
    .param p6, "channelsResult"    # Ljava/util/ArrayList;

    .line 763
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getMessagesController()Lim/tpelyyftgw/messenger/MessagesController;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, p1, v1}, Lim/tpelyyftgw/messenger/MessagesController;->putUsers(Ljava/util/ArrayList;Z)V

    .line 764
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getMessagesController()Lim/tpelyyftgw/messenger/MessagesController;

    move-result-object v0

    invoke-virtual {v0, p2, v1}, Lim/tpelyyftgw/messenger/MessagesController;->putChats(Ljava/util/ArrayList;Z)V

    .line 765
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getMessagesController()Lim/tpelyyftgw/messenger/MessagesController;

    move-result-object v0

    invoke-virtual {v0, p3, v1}, Lim/tpelyyftgw/messenger/MessagesController;->putEncryptedChats(Ljava/util/ArrayList;Z)V

    .line 766
    iget v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentType:I

    if-ne v0, v1, :cond_1d

    .line 767
    iput-object p4, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    goto :goto_24

    .line 768
    :cond_1d
    if-nez v0, :cond_22

    .line 769
    iput-object p5, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    goto :goto_24

    .line 771
    :cond_22
    iput-object p6, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    .line 773
    :goto_24
    invoke-direct {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->updateRows()V

    .line 774
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->adapter:Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;->notifyDataSetChanged()V

    .line 775
    return-void
.end method

.method public synthetic lambda$null$2$NotificationsCustomSettingsActivity(Lim/tpelyyftgw/ui/DialogsActivity;Ljava/util/ArrayList;Ljava/lang/CharSequence;Z)V
    .registers 9
    .param p1, "fragment"    # Lim/tpelyyftgw/ui/DialogsActivity;
    .param p2, "dids"    # Ljava/util/ArrayList;
    .param p3, "message"    # Ljava/lang/CharSequence;
    .param p4, "param"    # Z

    .line 332
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    .line 333
    .local v0, "args2":Landroid/os/Bundle;
    const/4 v1, 0x0

    invoke-virtual {p2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/Long;

    invoke-virtual {v1}, Ljava/lang/Long;->longValue()J

    move-result-wide v1

    const-string v3, "dialog_id"

    invoke-virtual {v0, v3, v1, v2}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V

    .line 334
    const/4 v1, 0x1

    const-string v2, "exception"

    invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 335
    new-instance v2, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;

    invoke-direct {v2, v0}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;-><init>(Landroid/os/Bundle;)V

    .line 336
    .local v2, "profileNotificationsActivity":Lim/tpelyyftgw/ui/ProfileNotificationsActivity;
    new-instance v3, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$wn41aottunbwDyE-GcPT4ArP-dE;

    invoke-direct {v3, p0}, Lim/tpelyyftgw/ui/-$$Lambda$NotificationsCustomSettingsActivity$wn41aottunbwDyE-GcPT4ArP-dE;-><init>(Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;)V

    invoke-virtual {v2, v3}, Lim/tpelyyftgw/ui/ProfileNotificationsActivity;->setDelegate(Lim/tpelyyftgw/ui/ProfileNotificationsActivity$ProfileNotificationsActivityDelegate;)V

    .line 341
    invoke-virtual {p0, v2, v1}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->presentFragment(Lim/tpelyyftgw/ui/actionbar/BaseFragment;Z)Z

    .line 342
    return-void
.end method

.method public synthetic lambda$null$3$NotificationsCustomSettingsActivity(Landroid/content/DialogInterface;I)V
    .registers 13
    .param p1, "dialogInterface"    # Landroid/content/DialogInterface;
    .param p2, "i"    # I

    .line 349
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getNotificationsSettings()Landroid/content/SharedPreferences;

    move-result-object v0

    .line 350
    .local v0, "preferences":Landroid/content/SharedPreferences;
    invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    .line 351
    .local v1, "editor":Landroid/content/SharedPreferences$Editor;
    const/4 v2, 0x0

    .local v2, "a":I
    iget-object v3, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v3

    .local v3, "N":I
    :goto_f
    if-ge v2, v3, :cond_6b

    .line 352
    iget-object v4, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;

    .line 353
    .local v4, "exception":Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    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 v6, v4, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->did: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 {v1, v5}, Landroid/content/SharedPreferences$Editor;->remove(Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v5

    new-instance v6, Ljava/lang/StringBuilder;

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

    const-string v7, "custom_"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-wide v7, v4, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->did: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 {v5, v6}, Landroid/content/SharedPreferences$Editor;->remove(Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 354
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getMessagesStorage()Lim/tpelyyftgw/messenger/MessagesStorage;

    move-result-object v5

    iget-wide v6, v4, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->did:J

    const-wide/16 v8, 0x0

    invoke-virtual {v5, v6, v7, v8, v9}, Lim/tpelyyftgw/messenger/MessagesStorage;->setDialogFlags(JJ)V

    .line 355
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getMessagesController()Lim/tpelyyftgw/messenger/MessagesController;

    move-result-object v5

    iget-object v5, v5, Lim/tpelyyftgw/messenger/MessagesController;->dialogs_dict:Landroid/util/LongSparseArray;

    iget-wide v6, v4, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->did:J

    invoke-virtual {v5, v6, v7}, Landroid/util/LongSparseArray;->get(J)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;

    .line 356
    .local v5, "dialog":Lim/tpelyyftgw/tgnet/TLRPC$Dialog;
    if-eqz v5, :cond_68

    .line 357
    new-instance v6, Lim/tpelyyftgw/tgnet/TLRPC$TL_peerNotifySettings;

    invoke-direct {v6}, Lim/tpelyyftgw/tgnet/TLRPC$TL_peerNotifySettings;-><init>()V

    iput-object v6, v5, Lim/tpelyyftgw/tgnet/TLRPC$Dialog;->notify_settings:Lim/tpelyyftgw/tgnet/TLRPC$PeerNotifySettings;

    .line 351
    .end local v4    # "exception":Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    .end local v5    # "dialog":Lim/tpelyyftgw/tgnet/TLRPC$Dialog;
    :cond_68
    add-int/lit8 v2, v2, 0x1

    goto :goto_f

    .line 360
    .end local v2    # "a":I
    .end local v3    # "N":I
    :cond_6b
    invoke-interface {v1}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 361
    const/4 v2, 0x0

    .restart local v2    # "a":I
    iget-object v3, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v3

    .restart local v3    # "N":I
    :goto_75
    const/4 v4, 0x0

    if-ge v2, v3, :cond_8c

    .line 362
    iget-object v5, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    invoke-virtual {v5, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;

    .line 363
    .local v5, "exception":Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getNotificationsController()Lim/tpelyyftgw/messenger/NotificationsController;

    move-result-object v6

    iget-wide v7, v5, Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;->did:J

    invoke-virtual {v6, v7, v8, v4}, Lim/tpelyyftgw/messenger/NotificationsController;->updateServerNotificationsSettings(JZ)V

    .line 361
    .end local v5    # "exception":Lim/tpelyyftgw/ui/NotificationsSettingsActivity$NotificationException;
    add-int/lit8 v2, v2, 0x1

    goto :goto_75

    .line 366
    .end local v2    # "a":I
    .end local v3    # "N":I
    :cond_8c
    iget-object v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptions:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->clear()V

    .line 367
    iget-object v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->exceptionsDict:Ljava/util/HashMap;

    invoke-virtual {v2}, Ljava/util/HashMap;->clear()V

    .line 368
    invoke-direct {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->updateRows()V

    .line 369
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getNotificationCenter()Lim/tpelyyftgw/messenger/NotificationCenter;

    move-result-object v2

    sget v3, Lim/tpelyyftgw/messenger/NotificationCenter;->notificationsSettingsUpdated:I

    new-array v4, v4, [Ljava/lang/Object;

    invoke-virtual {v2, v3, v4}, Lim/tpelyyftgw/messenger/NotificationCenter;->postNotificationName(I[Ljava/lang/Object;)V

    .line 370
    iget-object v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->adapter:Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;

    invoke-virtual {v2}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;->notifyDataSetChanged()V

    .line 371
    return-void
.end method

.method public synthetic lambda$null$4$NotificationsCustomSettingsActivity(Lim/tpelyyftgw/ui/components/TextMultiSwitchCell;Landroidx/recyclerview/widget/RecyclerView$ViewHolder;II)V
    .registers 12
    .param p1, "checkCell"    # Lim/tpelyyftgw/ui/components/TextMultiSwitchCell;
    .param p2, "holder"    # Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
    .param p3, "position"    # I
    .param p4, "param"    # I

    .line 394
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getNotificationsSettings()Landroid/content/SharedPreferences;

    move-result-object v0

    .line 395
    .local v0, "preferences":Landroid/content/SharedPreferences;
    iget v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentType:I

    const/4 v2, 0x1

    const/4 v3, 0x0

    if-ne v1, v2, :cond_11

    .line 396
    const-string v1, "EnableAll2"

    invoke-interface {v0, v1, v3}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v1

    .local v1, "offUntil":I
    goto :goto_20

    .line 397
    .end local v1    # "offUntil":I
    :cond_11
    if-nez v1, :cond_1a

    .line 398
    const-string v1, "EnableGroup2"

    invoke-interface {v0, v1, v3}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v1

    .restart local v1    # "offUntil":I
    goto :goto_20

    .line 400
    .end local v1    # "offUntil":I
    :cond_1a
    const-string v1, "EnableChannel2"

    invoke-interface {v0, v1, v3}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v1

    .line 402
    .restart local v1    # "offUntil":I
    :goto_20
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getConnectionsManager()Lim/tpelyyftgw/tgnet/ConnectionsManager;

    move-result-object v3

    invoke-virtual {v3}, Lim/tpelyyftgw/tgnet/ConnectionsManager;->getCurrentTime()I

    move-result v3

    .line 404
    .local v3, "currentTime":I
    if-ge v1, v3, :cond_2c

    .line 405
    const/4 v4, 0x0

    .local v4, "iconType":I
    goto :goto_36

    .line 406
    .end local v4    # "iconType":I
    :cond_2c
    const v4, 0x1e13380

    sub-int v4, v1, v4

    if-lt v4, v3, :cond_35

    .line 407
    const/4 v4, 0x0

    .restart local v4    # "iconType":I
    goto :goto_36

    .line 409
    .end local v4    # "iconType":I
    :cond_35
    const/4 v4, 0x2

    .line 412
    .restart local v4    # "iconType":I
    :goto_36
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getNotificationsController()Lim/tpelyyftgw/messenger/NotificationsController;

    move-result-object v5

    iget v6, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentType:I

    invoke-virtual {v5, v6}, Lim/tpelyyftgw/messenger/NotificationsController;->isGlobalNotificationsEnabled(I)Z

    move-result v5

    invoke-virtual {p1, v5, v2}, Lim/tpelyyftgw/ui/components/TextMultiSwitchCell;->setChecked(ZZ)V

    .line 413
    if-eqz p2, :cond_4a

    .line 414
    iget-object v2, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->adapter:Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;

    invoke-virtual {v2, p2, p3}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;->onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V

    .line 416
    :cond_4a
    invoke-direct {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->checkRowsEnabled()V

    .line 417
    return-void
.end method

.method public synthetic lambda$null$5$NotificationsCustomSettingsActivity(I)V
    .registers 4
    .param p1, "position"    # I

    .line 497
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v0, p1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->findViewHolderForAdapterPosition(I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;

    move-result-object v0

    .line 498
    .local v0, "holder":Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
    if-eqz v0, :cond_d

    .line 499
    iget-object v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->adapter:Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;

    invoke-virtual {v1, v0, p1}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;->onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V

    .line 501
    :cond_d
    return-void
.end method

.method public synthetic lambda$null$6$NotificationsCustomSettingsActivity(I)V
    .registers 4
    .param p1, "position"    # I

    .line 511
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v0, p1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->findViewHolderForAdapterPosition(I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;

    move-result-object v0

    .line 512
    .local v0, "holder":Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
    if-eqz v0, :cond_d

    .line 513
    iget-object v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->adapter:Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;

    invoke-virtual {v1, v0, p1}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;->onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V

    .line 515
    :cond_d
    return-void
.end method

.method public synthetic lambda$null$7$NotificationsCustomSettingsActivity(I)V
    .registers 4
    .param p1, "position"    # I

    .line 533
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v0, p1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->findViewHolderForAdapterPosition(I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;

    move-result-object v0

    .line 534
    .local v0, "holder":Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
    if-eqz v0, :cond_d

    .line 535
    iget-object v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->adapter:Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;

    invoke-virtual {v1, v0, p1}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;->onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V

    .line 537
    :cond_d
    return-void
.end method

.method public synthetic lambda$null$8$NotificationsCustomSettingsActivity(I)V
    .registers 4
    .param p1, "position"    # I

    .line 547
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v0, p1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->findViewHolderForAdapterPosition(I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;

    move-result-object v0

    .line 548
    .local v0, "holder":Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
    if-eqz v0, :cond_d

    .line 549
    iget-object v1, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->adapter:Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;

    invoke-virtual {v1, v0, p1}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;->onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V

    .line 551
    :cond_d
    return-void
.end method

.method public onActivityResultFragment(IILandroid/content/Intent;)V
    .registers 11
    .param p1, "requestCode"    # I
    .param p2, "resultCode"    # I
    .param p3, "data"    # Landroid/content/Intent;

    .line 838
    const/4 v0, -0x1

    if-ne p2, v0, :cond_af

    .line 839
    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 840
    .local v0, "ringtone":Landroid/net/Uri;
    const/4 v1, 0x0

    .line 841
    .local v1, "name":Ljava/lang/String;
    if-eqz v0, :cond_35

    .line 842
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v2

    invoke-static {v2, v0}, Landroid/media/RingtoneManager;->getRingtone(Landroid/content/Context;Landroid/net/Uri;)Landroid/media/Ringtone;

    move-result-object v2

    .line 843
    .local v2, "rng":Landroid/media/Ringtone;
    if-eqz v2, :cond_35

    .line 844
    sget-object v3, Landroid/provider/Settings$System;->DEFAULT_NOTIFICATION_URI:Landroid/net/Uri;

    invoke-virtual {v0, v3}, Landroid/net/Uri;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2a

    .line 845
    const v3, 0x7f0f0feb

    const-string v4, "SoundDefault"

    invoke-static {v4, v3}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v1

    goto :goto_32

    .line 847
    :cond_2a
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getParentActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/media/Ringtone;->getTitle(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    .line 849
    :goto_32
    invoke-virtual {v2}, Landroid/media/Ringtone;->stop()V

    .line 853
    .end local v2    # "rng":Landroid/media/Ringtone;
    :cond_35
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getNotificationsSettings()Landroid/content/SharedPreferences;

    move-result-object v2

    .line 854
    .local v2, "preferences":Landroid/content/SharedPreferences;
    invoke-interface {v2}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v3

    .line 856
    .local v3, "editor":Landroid/content/SharedPreferences$Editor;
    iget v4, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentType:I

    const/4 v5, 0x1

    const-string v6, "NoSound"

    if-ne v4, v5, :cond_5e

    .line 857
    const-string v4, "GlobalSoundPath"

    const-string v5, "GlobalSound"

    if-eqz v1, :cond_57

    if-eqz v0, :cond_57

    .line 858
    invoke-interface {v3, v5, v1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 859
    invoke-virtual {v0}, Landroid/net/Uri;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-interface {v3, v4, v5}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    goto :goto_96

    .line 861
    :cond_57
    invoke-interface {v3, v5, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 862
    invoke-interface {v3, v4, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    goto :goto_96

    .line 864
    :cond_5e
    if-nez v4, :cond_7a

    .line 865
    const-string v4, "GroupSoundPath"

    const-string v5, "GroupSound"

    if-eqz v1, :cond_73

    if-eqz v0, :cond_73

    .line 866
    invoke-interface {v3, v5, v1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 867
    invoke-virtual {v0}, Landroid/net/Uri;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-interface {v3, v4, v5}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    goto :goto_96

    .line 869
    :cond_73
    invoke-interface {v3, v5, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 870
    invoke-interface {v3, v4, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    goto :goto_96

    .line 872
    :cond_7a
    const/4 v5, 0x2

    if-ne v4, v5, :cond_96

    .line 873
    const-string v4, "ChannelSoundPath"

    const-string v5, "ChannelSound"

    if-eqz v1, :cond_90

    if-eqz v0, :cond_90

    .line 874
    invoke-interface {v3, v5, v1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 875
    invoke-virtual {v0}, Landroid/net/Uri;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-interface {v3, v4, v5}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    goto :goto_96

    .line 877
    :cond_90
    invoke-interface {v3, v5, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 878
    invoke-interface {v3, v4, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 881
    :cond_96
    :goto_96
    invoke-interface {v3}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 882
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->getNotificationsController()Lim/tpelyyftgw/messenger/NotificationsController;

    move-result-object v4

    iget v5, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->currentType:I

    invoke-virtual {v4, v5}, Lim/tpelyyftgw/messenger/NotificationsController;->updateServerNotificationsSettings(I)V

    .line 883
    iget-object v4, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v4, p1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->findViewHolderForAdapterPosition(I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;

    move-result-object v4

    .line 884
    .local v4, "holder":Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
    if-eqz v4, :cond_af

    .line 885
    iget-object v5, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->adapter:Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;

    invoke-virtual {v5, v4, p1}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;->onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V

    .line 888
    .end local v0    # "ringtone":Landroid/net/Uri;
    .end local v1    # "name":Ljava/lang/String;
    .end local v2    # "preferences":Landroid/content/SharedPreferences;
    .end local v3    # "editor":Landroid/content/SharedPreferences$Editor;
    .end local v4    # "holder":Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
    :cond_af
    return-void
.end method

.method public onFragmentCreate()Z
    .registers 2

    .line 129
    invoke-direct {p0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->updateRows()V

    .line 130
    invoke-super {p0}, Lim/tpelyyftgw/ui/actionbar/BaseFragment;->onFragmentCreate()Z

    move-result v0

    return v0
.end method

.method public onResume()V
    .registers 2

    .line 892
    invoke-super {p0}, Lim/tpelyyftgw/ui/actionbar/BaseFragment;->onResume()V

    .line 893
    iget-object v0, p0, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity;->adapter:Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;

    if-eqz v0, :cond_a

    .line 894
    invoke-virtual {v0}, Lim/tpelyyftgw/ui/NotificationsCustomSettingsActivity$ListAdapter;->notifyDataSetChanged()V

    .line 896
    :cond_a
    return-void
.end method