Changes of com.discord v1317

This commit is contained in:
root 2020-11-11 02:08:46 +00:00
parent 4858c0f21e
commit f2fc0d6fbd
774 changed files with 18420 additions and 17196 deletions

View file

@ -42,11 +42,11 @@
.field public static final SAMSUNGxDISCORD_CLIENT_ID:Ljava/lang/String; = "97t47j218f"
.field public static final USER_AGENT:Ljava/lang/String; = "Discord-Android/1315"
.field public static final USER_AGENT:Ljava/lang/String; = "Discord-Android/1318"
.field public static final VERSION_CODE:I = 0x523
.field public static final VERSION_CODE:I = 0x526
.field public static final VERSION_NAME:Ljava/lang/String; = "49.1"
.field public static final VERSION_NAME:Ljava/lang/String; = "49.2"
# direct methods

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/app/App$a;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "App.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,12 +18,10 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Boolean;",
"Lkotlin/Unit;",
">;"
}
.end annotation
@ -47,16 +45,18 @@
.end method
.method public constructor <init>()V
.locals 0
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x1
invoke-direct {p0, v0}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public call(Ljava/lang/Object;)V
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 3
check-cast p1, Ljava/lang/Boolean;
@ -81,5 +81,7 @@
invoke-virtual {v0, p1, v1}, Lcom/discord/app/AppLog;->recordBreadcrumb(Ljava/lang/String;Ljava/lang/String;)V
return-void
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method

View file

@ -89,11 +89,29 @@
invoke-virtual {v0}, Lrx/Observable;->q()Lrx/Observable;
move-result-object v0
move-result-object v1
sget-object v1, Lcom/discord/app/App$a;->d:Lcom/discord/app/App$a;
const-string v0, "Backgrounded\n .ge\u2026 .distinctUntilChanged()"
invoke-virtual {v0, v1}, Lrx/Observable;->R(Lrx/functions/Action1;)Lrx/Subscription;
invoke-static {v1, v0}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
const-class v2, Lcom/discord/app/App;
const/4 v3, 0x0
const/4 v4, 0x0
const/4 v5, 0x0
const/4 v6, 0x0
sget-object v7, Lcom/discord/app/App$a;->d:Lcom/discord/app/App$a;
const/16 v8, 0x1e
const/4 v9, 0x0
invoke-static/range {v1 .. v9}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
sget-object v0, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
@ -141,7 +159,7 @@
invoke-static {p0, v1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v1, Lf/a/b/u0;->d:Lf/a/b/u0;
sget-object v1, Lf/a/b/p0;->d:Lf/a/b/p0;
sget-object v9, Lcom/discord/app/AppLog;->e:Lcom/discord/app/AppLog;
@ -152,7 +170,7 @@
invoke-static {v9, v2}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
sget-boolean v2, Lf/a/b/u0;->c:Z
sget-boolean v2, Lf/a/b/p0;->c:Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
@ -164,7 +182,7 @@
:cond_0
:try_start_1
sget-object v2, Lf/a/b/u0;->a:Ljava/util/List;
sget-object v2, Lf/a/b/p0;->a:Ljava/util/List;
invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;
@ -190,7 +208,7 @@
:try_start_2
invoke-static {v8}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V
sget-object v2, Lf/a/b/u0;->b:Ljava/util/List;
sget-object v2, Lf/a/b/p0;->b:Ljava/util/List;
invoke-interface {v2, v8}, Ljava/util/List;->add(Ljava/lang/Object;)Z
@ -260,13 +278,13 @@
goto :goto_0
:cond_1
sget-object v2, Lf/a/b/u0;->b:Ljava/util/List;
sget-object v2, Lf/a/b/p0;->b:Ljava/util/List;
invoke-interface {v2}, Ljava/util/List;->size()I
move-result v2
sget-object v3, Lf/a/b/u0;->a:Ljava/util/List;
sget-object v3, Lf/a/b/p0;->a:Ljava/util/List;
invoke-interface {v3}, Ljava/util/List;->size()I
@ -293,7 +311,7 @@
goto :goto_1
:cond_2
sput-boolean v0, Lf/a/b/u0;->c:Z
sput-boolean v0, Lf/a/b/p0;->c:Z
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_0

View file

@ -72,7 +72,7 @@
aput-object p1, v2, v3
const p1, 0x7f12188c
const p1, 0x7f121895
invoke-virtual {v1, p1, v2}, Landroidx/fragment/app/Fragment;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

View file

@ -393,7 +393,7 @@
sget-object v0, Lcom/discord/utilities/buildutils/BuildUtils;->INSTANCE:Lcom/discord/utilities/buildutils/BuildUtils;
const-string v1, "49.1"
const-string v1, "49.2"
invoke-virtual {v0, v1}, Lcom/discord/utilities/buildutils/BuildUtils;->isValidBuildVersionName(Ljava/lang/String;)Z

View file

@ -341,7 +341,7 @@
:cond_0
const/16 v2, 0xd2
const v3, 0x7f121244
const v3, 0x7f121249
if-eq p1, v2, :cond_5
@ -366,7 +366,7 @@
goto :goto_0
:cond_1
const p1, 0x7f121242
const p1, 0x7f121247
new-instance v2, Lf/a/b/k;
@ -375,7 +375,7 @@
goto :goto_0
:cond_2
const p1, 0x7f121249
const p1, 0x7f12124e
new-instance v2, Lf/a/b/k;
@ -384,7 +384,7 @@
goto :goto_0
:cond_3
const p1, 0x7f121243
const p1, 0x7f121248
new-instance v2, Lf/a/b/k;
@ -421,7 +421,7 @@
move-result p1
const p2, 0x7f12109f
const p2, 0x7f1210a4
if-nez p1, :cond_7

View file

@ -301,7 +301,7 @@
if-eqz v6, :cond_3
const v2, 0x7f1211cf
const v2, 0x7f1211d4
invoke-static {v0, v2, v7, v3, v8}, Lf/a/b/p;->i(Landroid/content/Context;IILcom/discord/utilities/view/ToastManager;I)V
@ -322,9 +322,9 @@
goto/16 :goto_5
:cond_3
sget-object v6, Lf/a/b/v0/b;->E:Lf/a/b/v0/b;
sget-object v6, Lf/a/b/q0/b;->E:Lf/a/b/q0/b;
sget-object v6, Lf/a/b/v0/b;->s:Lkotlin/text/Regex;
sget-object v6, Lf/a/b/q0/b;->s:Lkotlin/text/Regex;
invoke-virtual {v4}, Landroid/net/Uri;->getPath()Ljava/lang/String;
@ -412,7 +412,7 @@
if-eqz v4, :cond_8
const v2, 0x7f121244
const v2, 0x7f121249
const/4 v3, 0x0
@ -485,7 +485,7 @@
move-result-object v2
sget-object v3, Lf/a/b/r0;->d:Lf/a/b/r0;
sget-object v3, Lf/a/b/m0;->d:Lf/a/b/m0;
invoke-virtual {v2, v3}, Lrx/Observable;->v(Lh0/k/b;)Lrx/Observable;
@ -507,7 +507,7 @@
move-result-object v2
sget-object v3, Lf/a/b/t0;->d:Lf/a/b/t0;
sget-object v3, Lf/a/b/o0;->d:Lf/a/b/o0;
invoke-virtual {v2, v3}, Lrx/Observable;->U(Lh0/k/b;)Lrx/Observable;

View file

@ -132,131 +132,131 @@
.field public static final fab_transformation_sheet_behavior:I = 0x7f120700
.field public static final hide_bottom_view_on_scroll_behavior:I = 0x7f120c98
.field public static final hide_bottom_view_on_scroll_behavior:I = 0x7f120c9d
.field public static final icon_content_description:I = 0x7f120d25
.field public static final icon_content_description:I = 0x7f120d2a
.field public static final item_view_role_description:I = 0x7f120e4a
.field public static final item_view_role_description:I = 0x7f120e4f
.field public static final material_clock_display_divider:I = 0x7f120f79
.field public static final material_clock_display_divider:I = 0x7f120f7e
.field public static final material_clock_toggle_content_description:I = 0x7f120f7a
.field public static final material_clock_toggle_content_description:I = 0x7f120f7f
.field public static final material_hour_selection:I = 0x7f120f7b
.field public static final material_hour_selection:I = 0x7f120f80
.field public static final material_hour_suffix:I = 0x7f120f7c
.field public static final material_hour_suffix:I = 0x7f120f81
.field public static final material_minute_selection:I = 0x7f120f7d
.field public static final material_minute_selection:I = 0x7f120f82
.field public static final material_minute_suffix:I = 0x7f120f7e
.field public static final material_minute_suffix:I = 0x7f120f83
.field public static final material_slider_range_end:I = 0x7f120f7f
.field public static final material_slider_range_end:I = 0x7f120f84
.field public static final material_slider_range_start:I = 0x7f120f80
.field public static final material_slider_range_start:I = 0x7f120f85
.field public static final material_timepicker_am:I = 0x7f120f81
.field public static final material_timepicker_am:I = 0x7f120f86
.field public static final material_timepicker_hour:I = 0x7f120f82
.field public static final material_timepicker_hour:I = 0x7f120f87
.field public static final material_timepicker_minute:I = 0x7f120f83
.field public static final material_timepicker_minute:I = 0x7f120f88
.field public static final material_timepicker_pm:I = 0x7f120f84
.field public static final material_timepicker_pm:I = 0x7f120f89
.field public static final material_timepicker_select_time:I = 0x7f120f85
.field public static final material_timepicker_select_time:I = 0x7f120f8a
.field public static final mtrl_badge_numberless_content_description:I = 0x7f121034
.field public static final mtrl_badge_numberless_content_description:I = 0x7f121039
.field public static final mtrl_chip_close_icon_content_description:I = 0x7f121035
.field public static final mtrl_chip_close_icon_content_description:I = 0x7f12103a
.field public static final mtrl_exceed_max_badge_number_content_description:I = 0x7f121036
.field public static final mtrl_exceed_max_badge_number_content_description:I = 0x7f12103b
.field public static final mtrl_exceed_max_badge_number_suffix:I = 0x7f121037
.field public static final mtrl_exceed_max_badge_number_suffix:I = 0x7f12103c
.field public static final mtrl_picker_a11y_next_month:I = 0x7f121038
.field public static final mtrl_picker_a11y_next_month:I = 0x7f12103d
.field public static final mtrl_picker_a11y_prev_month:I = 0x7f121039
.field public static final mtrl_picker_a11y_prev_month:I = 0x7f12103e
.field public static final mtrl_picker_announce_current_selection:I = 0x7f12103a
.field public static final mtrl_picker_announce_current_selection:I = 0x7f12103f
.field public static final mtrl_picker_cancel:I = 0x7f12103b
.field public static final mtrl_picker_cancel:I = 0x7f121040
.field public static final mtrl_picker_confirm:I = 0x7f12103c
.field public static final mtrl_picker_confirm:I = 0x7f121041
.field public static final mtrl_picker_date_header_selected:I = 0x7f12103d
.field public static final mtrl_picker_date_header_selected:I = 0x7f121042
.field public static final mtrl_picker_date_header_title:I = 0x7f12103e
.field public static final mtrl_picker_date_header_title:I = 0x7f121043
.field public static final mtrl_picker_date_header_unselected:I = 0x7f12103f
.field public static final mtrl_picker_date_header_unselected:I = 0x7f121044
.field public static final mtrl_picker_day_of_week_column_header:I = 0x7f121040
.field public static final mtrl_picker_day_of_week_column_header:I = 0x7f121045
.field public static final mtrl_picker_invalid_format:I = 0x7f121041
.field public static final mtrl_picker_invalid_format:I = 0x7f121046
.field public static final mtrl_picker_invalid_format_example:I = 0x7f121042
.field public static final mtrl_picker_invalid_format_example:I = 0x7f121047
.field public static final mtrl_picker_invalid_format_use:I = 0x7f121043
.field public static final mtrl_picker_invalid_format_use:I = 0x7f121048
.field public static final mtrl_picker_invalid_range:I = 0x7f121044
.field public static final mtrl_picker_invalid_range:I = 0x7f121049
.field public static final mtrl_picker_navigate_to_year_description:I = 0x7f121045
.field public static final mtrl_picker_navigate_to_year_description:I = 0x7f12104a
.field public static final mtrl_picker_out_of_range:I = 0x7f121046
.field public static final mtrl_picker_out_of_range:I = 0x7f12104b
.field public static final mtrl_picker_range_header_only_end_selected:I = 0x7f121047
.field public static final mtrl_picker_range_header_only_end_selected:I = 0x7f12104c
.field public static final mtrl_picker_range_header_only_start_selected:I = 0x7f121048
.field public static final mtrl_picker_range_header_only_start_selected:I = 0x7f12104d
.field public static final mtrl_picker_range_header_selected:I = 0x7f121049
.field public static final mtrl_picker_range_header_selected:I = 0x7f12104e
.field public static final mtrl_picker_range_header_title:I = 0x7f12104a
.field public static final mtrl_picker_range_header_title:I = 0x7f12104f
.field public static final mtrl_picker_range_header_unselected:I = 0x7f12104b
.field public static final mtrl_picker_range_header_unselected:I = 0x7f121050
.field public static final mtrl_picker_save:I = 0x7f12104c
.field public static final mtrl_picker_save:I = 0x7f121051
.field public static final mtrl_picker_text_input_date_hint:I = 0x7f12104d
.field public static final mtrl_picker_text_input_date_hint:I = 0x7f121052
.field public static final mtrl_picker_text_input_date_range_end_hint:I = 0x7f12104e
.field public static final mtrl_picker_text_input_date_range_end_hint:I = 0x7f121053
.field public static final mtrl_picker_text_input_date_range_start_hint:I = 0x7f12104f
.field public static final mtrl_picker_text_input_date_range_start_hint:I = 0x7f121054
.field public static final mtrl_picker_text_input_day_abbr:I = 0x7f121050
.field public static final mtrl_picker_text_input_day_abbr:I = 0x7f121055
.field public static final mtrl_picker_text_input_month_abbr:I = 0x7f121051
.field public static final mtrl_picker_text_input_month_abbr:I = 0x7f121056
.field public static final mtrl_picker_text_input_year_abbr:I = 0x7f121052
.field public static final mtrl_picker_text_input_year_abbr:I = 0x7f121057
.field public static final mtrl_picker_toggle_to_calendar_input_mode:I = 0x7f121053
.field public static final mtrl_picker_toggle_to_calendar_input_mode:I = 0x7f121058
.field public static final mtrl_picker_toggle_to_day_selection:I = 0x7f121054
.field public static final mtrl_picker_toggle_to_day_selection:I = 0x7f121059
.field public static final mtrl_picker_toggle_to_text_input_mode:I = 0x7f121055
.field public static final mtrl_picker_toggle_to_text_input_mode:I = 0x7f12105a
.field public static final mtrl_picker_toggle_to_year_selection:I = 0x7f121056
.field public static final mtrl_picker_toggle_to_year_selection:I = 0x7f12105b
.field public static final not_set:I = 0x7f1210df
.field public static final not_set:I = 0x7f1210e4
.field public static final password_toggle_content_description:I = 0x7f1211fe
.field public static final password_toggle_content_description:I = 0x7f121203
.field public static final path_password_eye:I = 0x7f121200
.field public static final path_password_eye:I = 0x7f121205
.field public static final path_password_eye_mask_strike_through:I = 0x7f121201
.field public static final path_password_eye_mask_strike_through:I = 0x7f121206
.field public static final path_password_eye_mask_visible:I = 0x7f121202
.field public static final path_password_eye_mask_visible:I = 0x7f121207
.field public static final path_password_strike_through:I = 0x7f121203
.field public static final path_password_strike_through:I = 0x7f121208
.field public static final preference_copied:I = 0x7f121279
.field public static final preference_copied:I = 0x7f12127e
.field public static final search_menu_title:I = 0x7f1215a9
.field public static final search_menu_title:I = 0x7f1215b2
.field public static final status_bar_notification_info_overflow:I = 0x7f12166c
.field public static final status_bar_notification_info_overflow:I = 0x7f121675
.field public static final summary_collapsed_preference_list:I = 0x7f12172a
.field public static final summary_collapsed_preference_list:I = 0x7f121733
.field public static final v7_preference_off:I = 0x7f12196d
.field public static final v7_preference_off:I = 0x7f121976
.field public static final v7_preference_on:I = 0x7f12196e
.field public static final v7_preference_on:I = 0x7f121977
# direct methods

View file

@ -111,8 +111,6 @@
move-result-object v0
invoke-static {v0}, Ly/n/c/j;->checkNotNull(Ljava/lang/Object;)V
iput-object v0, p1, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
goto :goto_1

View file

@ -88,32 +88,23 @@
iget-object v0, v0, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
if-eqz v0, :cond_1
if-eqz v0, :cond_0
check-cast v0, Ljava/lang/String;
iget-object v2, v2, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
if-eqz v2, :cond_0
check-cast v2, Ljava/lang/String;
iget-object v1, v3, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
iget-object v1, v2, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
check-cast v1, Ljava/lang/String;
invoke-direct {p1, v0, v2, v1}, Lcom/discord/models/domain/StreamServerUpdate;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, v3, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
check-cast v2, Ljava/lang/String;
invoke-direct {p1, v0, v1, v2}, Lcom/discord/models/domain/StreamServerUpdate;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
return-object p1
:cond_0
const-string p1, "endpoint"
invoke-static {p1}, Ly/n/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v1
:cond_1
const-string/jumbo p1, "streamKey"
invoke-static {p1}, Ly/n/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V

View file

@ -27,10 +27,6 @@
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "endpoint"
invoke-static {p2, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/discord/models/domain/StreamServerUpdate;->streamKey:Ljava/lang/String;
@ -106,10 +102,6 @@
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "endpoint"
invoke-static {p2, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lcom/discord/models/domain/StreamServerUpdate;
invoke-direct {v0, p1, p2, p3}, Lcom/discord/models/domain/StreamServerUpdate;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

View file

@ -31,7 +31,7 @@
}
.end annotation
const-string v0, "stickerPacks"
const-string/jumbo v0, "stickerPacks"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
@ -112,7 +112,7 @@
}
.end annotation
const-string v0, "stickerPacks"
const-string/jumbo v0, "stickerPacks"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V

View file

@ -89,7 +89,7 @@
move-result-object p1
const-string p2, "PublishSubject.create<Event>()"
const-string p2, "PublishSubject.create()"
invoke-static {p1, p2}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
@ -113,7 +113,7 @@
move-result-object p1
const-string p2, "BehaviorSubject.create<Float>(exoPlayer.volume)"
const-string p2, "BehaviorSubject.create(exoPlayer.volume)"
invoke-static {p1, p2}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V

View file

@ -132,131 +132,131 @@
.field public static final fab_transformation_sheet_behavior:I = 0x7f120700
.field public static final hide_bottom_view_on_scroll_behavior:I = 0x7f120c98
.field public static final hide_bottom_view_on_scroll_behavior:I = 0x7f120c9d
.field public static final icon_content_description:I = 0x7f120d25
.field public static final icon_content_description:I = 0x7f120d2a
.field public static final item_view_role_description:I = 0x7f120e4a
.field public static final item_view_role_description:I = 0x7f120e4f
.field public static final material_clock_display_divider:I = 0x7f120f79
.field public static final material_clock_display_divider:I = 0x7f120f7e
.field public static final material_clock_toggle_content_description:I = 0x7f120f7a
.field public static final material_clock_toggle_content_description:I = 0x7f120f7f
.field public static final material_hour_selection:I = 0x7f120f7b
.field public static final material_hour_selection:I = 0x7f120f80
.field public static final material_hour_suffix:I = 0x7f120f7c
.field public static final material_hour_suffix:I = 0x7f120f81
.field public static final material_minute_selection:I = 0x7f120f7d
.field public static final material_minute_selection:I = 0x7f120f82
.field public static final material_minute_suffix:I = 0x7f120f7e
.field public static final material_minute_suffix:I = 0x7f120f83
.field public static final material_slider_range_end:I = 0x7f120f7f
.field public static final material_slider_range_end:I = 0x7f120f84
.field public static final material_slider_range_start:I = 0x7f120f80
.field public static final material_slider_range_start:I = 0x7f120f85
.field public static final material_timepicker_am:I = 0x7f120f81
.field public static final material_timepicker_am:I = 0x7f120f86
.field public static final material_timepicker_hour:I = 0x7f120f82
.field public static final material_timepicker_hour:I = 0x7f120f87
.field public static final material_timepicker_minute:I = 0x7f120f83
.field public static final material_timepicker_minute:I = 0x7f120f88
.field public static final material_timepicker_pm:I = 0x7f120f84
.field public static final material_timepicker_pm:I = 0x7f120f89
.field public static final material_timepicker_select_time:I = 0x7f120f85
.field public static final material_timepicker_select_time:I = 0x7f120f8a
.field public static final mtrl_badge_numberless_content_description:I = 0x7f121034
.field public static final mtrl_badge_numberless_content_description:I = 0x7f121039
.field public static final mtrl_chip_close_icon_content_description:I = 0x7f121035
.field public static final mtrl_chip_close_icon_content_description:I = 0x7f12103a
.field public static final mtrl_exceed_max_badge_number_content_description:I = 0x7f121036
.field public static final mtrl_exceed_max_badge_number_content_description:I = 0x7f12103b
.field public static final mtrl_exceed_max_badge_number_suffix:I = 0x7f121037
.field public static final mtrl_exceed_max_badge_number_suffix:I = 0x7f12103c
.field public static final mtrl_picker_a11y_next_month:I = 0x7f121038
.field public static final mtrl_picker_a11y_next_month:I = 0x7f12103d
.field public static final mtrl_picker_a11y_prev_month:I = 0x7f121039
.field public static final mtrl_picker_a11y_prev_month:I = 0x7f12103e
.field public static final mtrl_picker_announce_current_selection:I = 0x7f12103a
.field public static final mtrl_picker_announce_current_selection:I = 0x7f12103f
.field public static final mtrl_picker_cancel:I = 0x7f12103b
.field public static final mtrl_picker_cancel:I = 0x7f121040
.field public static final mtrl_picker_confirm:I = 0x7f12103c
.field public static final mtrl_picker_confirm:I = 0x7f121041
.field public static final mtrl_picker_date_header_selected:I = 0x7f12103d
.field public static final mtrl_picker_date_header_selected:I = 0x7f121042
.field public static final mtrl_picker_date_header_title:I = 0x7f12103e
.field public static final mtrl_picker_date_header_title:I = 0x7f121043
.field public static final mtrl_picker_date_header_unselected:I = 0x7f12103f
.field public static final mtrl_picker_date_header_unselected:I = 0x7f121044
.field public static final mtrl_picker_day_of_week_column_header:I = 0x7f121040
.field public static final mtrl_picker_day_of_week_column_header:I = 0x7f121045
.field public static final mtrl_picker_invalid_format:I = 0x7f121041
.field public static final mtrl_picker_invalid_format:I = 0x7f121046
.field public static final mtrl_picker_invalid_format_example:I = 0x7f121042
.field public static final mtrl_picker_invalid_format_example:I = 0x7f121047
.field public static final mtrl_picker_invalid_format_use:I = 0x7f121043
.field public static final mtrl_picker_invalid_format_use:I = 0x7f121048
.field public static final mtrl_picker_invalid_range:I = 0x7f121044
.field public static final mtrl_picker_invalid_range:I = 0x7f121049
.field public static final mtrl_picker_navigate_to_year_description:I = 0x7f121045
.field public static final mtrl_picker_navigate_to_year_description:I = 0x7f12104a
.field public static final mtrl_picker_out_of_range:I = 0x7f121046
.field public static final mtrl_picker_out_of_range:I = 0x7f12104b
.field public static final mtrl_picker_range_header_only_end_selected:I = 0x7f121047
.field public static final mtrl_picker_range_header_only_end_selected:I = 0x7f12104c
.field public static final mtrl_picker_range_header_only_start_selected:I = 0x7f121048
.field public static final mtrl_picker_range_header_only_start_selected:I = 0x7f12104d
.field public static final mtrl_picker_range_header_selected:I = 0x7f121049
.field public static final mtrl_picker_range_header_selected:I = 0x7f12104e
.field public static final mtrl_picker_range_header_title:I = 0x7f12104a
.field public static final mtrl_picker_range_header_title:I = 0x7f12104f
.field public static final mtrl_picker_range_header_unselected:I = 0x7f12104b
.field public static final mtrl_picker_range_header_unselected:I = 0x7f121050
.field public static final mtrl_picker_save:I = 0x7f12104c
.field public static final mtrl_picker_save:I = 0x7f121051
.field public static final mtrl_picker_text_input_date_hint:I = 0x7f12104d
.field public static final mtrl_picker_text_input_date_hint:I = 0x7f121052
.field public static final mtrl_picker_text_input_date_range_end_hint:I = 0x7f12104e
.field public static final mtrl_picker_text_input_date_range_end_hint:I = 0x7f121053
.field public static final mtrl_picker_text_input_date_range_start_hint:I = 0x7f12104f
.field public static final mtrl_picker_text_input_date_range_start_hint:I = 0x7f121054
.field public static final mtrl_picker_text_input_day_abbr:I = 0x7f121050
.field public static final mtrl_picker_text_input_day_abbr:I = 0x7f121055
.field public static final mtrl_picker_text_input_month_abbr:I = 0x7f121051
.field public static final mtrl_picker_text_input_month_abbr:I = 0x7f121056
.field public static final mtrl_picker_text_input_year_abbr:I = 0x7f121052
.field public static final mtrl_picker_text_input_year_abbr:I = 0x7f121057
.field public static final mtrl_picker_toggle_to_calendar_input_mode:I = 0x7f121053
.field public static final mtrl_picker_toggle_to_calendar_input_mode:I = 0x7f121058
.field public static final mtrl_picker_toggle_to_day_selection:I = 0x7f121054
.field public static final mtrl_picker_toggle_to_day_selection:I = 0x7f121059
.field public static final mtrl_picker_toggle_to_text_input_mode:I = 0x7f121055
.field public static final mtrl_picker_toggle_to_text_input_mode:I = 0x7f12105a
.field public static final mtrl_picker_toggle_to_year_selection:I = 0x7f121056
.field public static final mtrl_picker_toggle_to_year_selection:I = 0x7f12105b
.field public static final not_set:I = 0x7f1210df
.field public static final not_set:I = 0x7f1210e4
.field public static final password_toggle_content_description:I = 0x7f1211fe
.field public static final password_toggle_content_description:I = 0x7f121203
.field public static final path_password_eye:I = 0x7f121200
.field public static final path_password_eye:I = 0x7f121205
.field public static final path_password_eye_mask_strike_through:I = 0x7f121201
.field public static final path_password_eye_mask_strike_through:I = 0x7f121206
.field public static final path_password_eye_mask_visible:I = 0x7f121202
.field public static final path_password_eye_mask_visible:I = 0x7f121207
.field public static final path_password_strike_through:I = 0x7f121203
.field public static final path_password_strike_through:I = 0x7f121208
.field public static final preference_copied:I = 0x7f121279
.field public static final preference_copied:I = 0x7f12127e
.field public static final search_menu_title:I = 0x7f1215a9
.field public static final search_menu_title:I = 0x7f1215b2
.field public static final status_bar_notification_info_overflow:I = 0x7f12166c
.field public static final status_bar_notification_info_overflow:I = 0x7f121675
.field public static final summary_collapsed_preference_list:I = 0x7f12172a
.field public static final summary_collapsed_preference_list:I = 0x7f121733
.field public static final v7_preference_off:I = 0x7f12196d
.field public static final v7_preference_off:I = 0x7f121976
.field public static final v7_preference_on:I = 0x7f12196e
.field public static final v7_preference_on:I = 0x7f121977
# direct methods

View file

@ -8,7 +8,7 @@
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreAndroidPackages$1;->call(Ljava/lang/ref/WeakReference;)V
value = Lcom/discord/stores/StoreAndroidPackages$1;->invoke(Ljava/lang/ref/WeakReference;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/stores/StoreAndroidPackages$1;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "StoreAndroidPackages.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,14 +18,13 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/ref/WeakReference<",
"Landroid/content/Context;",
">;>;"
">;",
"Lkotlin/Unit;",
">;"
}
.end annotation
@ -40,24 +39,28 @@
iput-object p1, p0, Lcom/discord/stores/StoreAndroidPackages$1;->this$0:Lcom/discord/stores/StoreAndroidPackages;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/ref/WeakReference;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreAndroidPackages$1;->call(Ljava/lang/ref/WeakReference;)V
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreAndroidPackages$1;->invoke(Ljava/lang/ref/WeakReference;)V
return-void
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final call(Ljava/lang/ref/WeakReference;)V
.method public final invoke(Ljava/lang/ref/WeakReference;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {

View file

@ -31,7 +31,7 @@
# direct methods
.method public constructor <init>(Lcom/discord/stores/Dispatcher;)V
.locals 3
.locals 12
const-string v0, "dispatcher"
@ -65,13 +65,27 @@
invoke-static {p1, v0, v1, v2}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->leadingEdgeThrottle(Lrx/Observable;JLjava/util/concurrent/TimeUnit;)Lrx/Observable;
move-result-object p1
move-result-object v3
new-instance v0, Lcom/discord/stores/StoreAndroidPackages$1;
const-class v4, Lcom/discord/stores/StoreAndroidPackages;
invoke-direct {v0, p0}, Lcom/discord/stores/StoreAndroidPackages$1;-><init>(Lcom/discord/stores/StoreAndroidPackages;)V
const/4 v5, 0x0
invoke-virtual {p1, v0}, Lrx/Observable;->R(Lrx/functions/Action1;)Lrx/Subscription;
const/4 v6, 0x0
const/4 v7, 0x0
const/4 v8, 0x0
new-instance v9, Lcom/discord/stores/StoreAndroidPackages$1;
invoke-direct {v9, p0}, Lcom/discord/stores/StoreAndroidPackages$1;-><init>(Lcom/discord/stores/StoreAndroidPackages;)V
const/16 v10, 0x1e
const/4 v11, 0x0
invoke-static/range {v3 .. v11}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
return-void
.end method

View file

@ -0,0 +1,75 @@
.class public final Lcom/discord/stores/StoreCalls$ring$1$1;
.super Ly/n/c/k;
.source "StoreCalls.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreCalls$ring$1;->invoke(Lcom/discord/models/domain/ModelCall;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Void;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# static fields
.field public static final INSTANCE:Lcom/discord/stores/StoreCalls$ring$1$1;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/discord/stores/StoreCalls$ring$1$1;
invoke-direct {v0}, Lcom/discord/stores/StoreCalls$ring$1$1;-><init>()V
sput-object v0, Lcom/discord/stores/StoreCalls$ring$1$1;->INSTANCE:Lcom/discord/stores/StoreCalls$ring$1$1;
return-void
.end method
.method public constructor <init>()V
.locals 1
const/4 v0, 0x1
invoke-direct {p0, v0}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Void;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreCalls$ring$1$1;->invoke(Ljava/lang/Void;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Ljava/lang/Void;)V
.locals 0
return-void
.end method

View file

@ -63,47 +63,59 @@
.end method
.method public final invoke(Lcom/discord/models/domain/ModelCall;)V
.locals 7
.locals 17
const-string v0, "call"
move-object/from16 v0, p0
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v1, "call"
sget-object v0, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
move-object/from16 v2, p1
invoke-virtual {v0}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
invoke-static {v2, v1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v1, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
invoke-virtual {v1}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
move-result-object v1
invoke-virtual {p1}, Lcom/discord/models/domain/ModelCall;->getChannelId()J
invoke-virtual/range {p1 .. p1}, Lcom/discord/models/domain/ModelCall;->getChannelId()J
move-result-wide v2
move-result-wide v3
invoke-virtual {p1}, Lcom/discord/models/domain/ModelCall;->getMessageId()J
invoke-virtual/range {p1 .. p1}, Lcom/discord/models/domain/ModelCall;->getMessageId()J
move-result-wide v4
move-result-wide v5
iget-object v6, p0, Lcom/discord/stores/StoreCalls$ring$1;->$recipients:Ljava/util/List;
iget-object v7, v0, Lcom/discord/stores/StoreCalls$ring$1;->$recipients:Ljava/util/List;
invoke-virtual/range {v1 .. v6}, Lcom/discord/utilities/rest/RestAPI;->ring(JJLjava/util/List;)Lrx/Observable;
move-object v2, v1
move-result-object p1
invoke-virtual/range {v2 .. v7}, Lcom/discord/utilities/rest/RestAPI;->ring(JJLjava/util/List;)Lrx/Observable;
iget-object v0, p0, Lcom/discord/stores/StoreCalls$ring$1;->this$0:Lcom/discord/stores/StoreCalls;
move-result-object v8
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
iget-object v1, v0, Lcom/discord/stores/StoreCalls$ring$1;->this$0:Lcom/discord/stores/StoreCalls;
move-result-object v0
invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
const/4 v1, 0x0
move-result-object v9
const/4 v2, 0x2
sget-object v14, Lcom/discord/stores/StoreCalls$ring$1$1;->INSTANCE:Lcom/discord/stores/StoreCalls$ring$1$1;
invoke-static {v0, v1, v2}, Lf/a/b/s;->j(Ljava/lang/Class;Lrx/functions/Action1;I)Lrx/Observable$c;
const/4 v10, 0x0
move-result-object v0
const/4 v11, 0x0
invoke-virtual {p1, v0}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
const/4 v12, 0x0
const/4 v13, 0x0
const/16 v15, 0x1e
const/16 v16, 0x0
invoke-static/range {v8 .. v16}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
return-void
.end method

View file

@ -0,0 +1,75 @@
.class public final Lcom/discord/stores/StoreCalls$stopRinging$1$1;
.super Ly/n/c/k;
.source "StoreCalls.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreCalls$stopRinging$1;->invoke(Lcom/discord/models/domain/ModelCall;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Void;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# static fields
.field public static final INSTANCE:Lcom/discord/stores/StoreCalls$stopRinging$1$1;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/discord/stores/StoreCalls$stopRinging$1$1;
invoke-direct {v0}, Lcom/discord/stores/StoreCalls$stopRinging$1$1;-><init>()V
sput-object v0, Lcom/discord/stores/StoreCalls$stopRinging$1$1;->INSTANCE:Lcom/discord/stores/StoreCalls$stopRinging$1$1;
return-void
.end method
.method public constructor <init>()V
.locals 1
const/4 v0, 0x1
invoke-direct {p0, v0}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Void;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreCalls$stopRinging$1$1;->invoke(Ljava/lang/Void;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Ljava/lang/Void;)V
.locals 0
return-void
.end method

View file

@ -63,47 +63,59 @@
.end method
.method public final invoke(Lcom/discord/models/domain/ModelCall;)V
.locals 7
.locals 17
const-string v0, "call"
move-object/from16 v0, p0
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v1, "call"
sget-object v0, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
move-object/from16 v2, p1
invoke-virtual {v0}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
invoke-static {v2, v1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v1, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
invoke-virtual {v1}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
move-result-object v1
invoke-virtual {p1}, Lcom/discord/models/domain/ModelCall;->getChannelId()J
invoke-virtual/range {p1 .. p1}, Lcom/discord/models/domain/ModelCall;->getChannelId()J
move-result-wide v2
move-result-wide v3
invoke-virtual {p1}, Lcom/discord/models/domain/ModelCall;->getMessageId()J
invoke-virtual/range {p1 .. p1}, Lcom/discord/models/domain/ModelCall;->getMessageId()J
move-result-wide v4
move-result-wide v5
iget-object v6, p0, Lcom/discord/stores/StoreCalls$stopRinging$1;->$recipients:Ljava/util/List;
iget-object v7, v0, Lcom/discord/stores/StoreCalls$stopRinging$1;->$recipients:Ljava/util/List;
invoke-virtual/range {v1 .. v6}, Lcom/discord/utilities/rest/RestAPI;->stopRinging(JJLjava/util/List;)Lrx/Observable;
move-object v2, v1
move-result-object p1
invoke-virtual/range {v2 .. v7}, Lcom/discord/utilities/rest/RestAPI;->stopRinging(JJLjava/util/List;)Lrx/Observable;
iget-object v0, p0, Lcom/discord/stores/StoreCalls$stopRinging$1;->this$0:Lcom/discord/stores/StoreCalls;
move-result-object v8
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
iget-object v1, v0, Lcom/discord/stores/StoreCalls$stopRinging$1;->this$0:Lcom/discord/stores/StoreCalls;
move-result-object v0
invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
const/4 v1, 0x0
move-result-object v9
const/4 v2, 0x2
sget-object v14, Lcom/discord/stores/StoreCalls$stopRinging$1$1;->INSTANCE:Lcom/discord/stores/StoreCalls$stopRinging$1$1;
invoke-static {v0, v1, v2}, Lf/a/b/s;->j(Ljava/lang/Class;Lrx/functions/Action1;I)Lrx/Observable$c;
const/4 v10, 0x0
move-result-object v0
const/4 v11, 0x0
invoke-virtual {p1, v0}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
const/4 v12, 0x0
const/4 v13, 0x0
const/16 v15, 0x1e
const/16 v16, 0x0
invoke-static/range {v8 .. v16}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
return-void
.end method

View file

@ -87,7 +87,7 @@
# direct methods
.method public constructor <init>(Lcom/discord/stores/StoreStream;Lcom/discord/stores/Dispatcher;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)V
.locals 7
.locals 9
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
@ -166,47 +166,27 @@
invoke-static {p1, p2, p3, p4}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->leadingEdgeThrottle(Lrx/Observable;JLjava/util/concurrent/TimeUnit;)Lrx/Observable;
move-result-object p1
move-result-object v0
new-instance v4, Lcom/discord/stores/StoreChannelMembers$1;
const-class v1, Lcom/discord/stores/StoreChannelMembers;
invoke-direct {v4, p0}, Lcom/discord/stores/StoreChannelMembers$1;-><init>(Lcom/discord/stores/StoreChannelMembers;)V
const/4 v2, 0x0
const-class v2, Lcom/discord/stores/StoreChannelMembers;
const/4 v3, 0x0
const/16 p2, 0x3c
const/4 v4, 0x0
and-int/lit8 p3, p2, 0x4
const/4 v5, 0x0
and-int/lit8 p3, p2, 0x8
new-instance v6, Lcom/discord/stores/StoreChannelMembers$1;
and-int/lit8 p3, p2, 0x10
invoke-direct {v6, p0}, Lcom/discord/stores/StoreChannelMembers$1;-><init>(Lcom/discord/stores/StoreChannelMembers;)V
and-int/lit8 p2, p2, 0x20
const/16 v7, 0x1e
const-string p2, "onNext"
const/4 v8, 0x0
invoke-static {v4, p2}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string p2, "errorClass"
invoke-static {v2, p2}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance p2, Lf/a/b/c0;
const/4 v6, 0x0
move-object v0, p2
move-object v1, v6
move-object v3, v6
move-object v5, v6
invoke-direct/range {v0 .. v6}, Lf/a/b/c0;-><init>(Landroid/content/Context;Ljava/lang/Class;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;Lkotlin/jvm/functions/Function0;)V
invoke-virtual {p1, p2}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
invoke-static/range {v0 .. v8}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
return-void
.end method
@ -1037,7 +1017,7 @@
if-eqz v6, :cond_3
const v6, 0x7f12174f
const v6, 0x7f121758
goto :goto_2

View file

@ -28,7 +28,7 @@
invoke-direct {p0}, Lcom/discord/stores/Store;-><init>()V
const/16 v0, 0x523
const/16 v0, 0x526
iput v0, p0, Lcom/discord/stores/StoreClientVersion;->clientVersion:I

View file

@ -75,7 +75,7 @@
return-object v1
:cond_0
sget-object v0, Lf/a/b/v0/b;->E:Lf/a/b/v0/b;
sget-object v0, Lf/a/b/q0/b;->E:Lf/a/b/q0/b;
const-string/jumbo v0, "uri"
@ -89,7 +89,7 @@
move-result-object v0
sget-object v2, Lf/a/b/v0/b;->d:Ljava/lang/String;
sget-object v2, Lf/a/b/q0/b;->d:Ljava/lang/String;
const/4 v3, 0x1
@ -105,7 +105,7 @@
move-result-object v0
sget-object v4, Lf/a/b/v0/b;->a:Ljava/lang/String;
sget-object v4, Lf/a/b/q0/b;->a:Ljava/lang/String;
invoke-static {v0, v4, v3}, Ly/t/k;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
@ -117,7 +117,7 @@
move-result-object v0
sget-object v4, Lf/a/b/v0/b;->b:Ljava/lang/String;
sget-object v4, Lf/a/b/q0/b;->b:Ljava/lang/String;
invoke-static {v0, v4, v3}, Ly/t/k;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
@ -132,7 +132,7 @@
if-eqz v0, :cond_2
sget-object v4, Lf/a/b/v0/b;->n:Lkotlin/text/Regex;
sget-object v4, Lf/a/b/q0/b;->n:Lkotlin/text/Regex;
invoke-virtual {v4, v0}, Lkotlin/text/Regex;->matches(Ljava/lang/CharSequence;)Z
@ -158,9 +158,9 @@
if-eqz v0, :cond_7
sget-object v0, Lf/a/b/v0/b;->E:Lf/a/b/v0/b;
sget-object v0, Lf/a/b/q0/b;->E:Lf/a/b/q0/b;
sget-object v0, Lf/a/b/v0/b;->n:Lkotlin/text/Regex;
sget-object v0, Lf/a/b/q0/b;->n:Lkotlin/text/Regex;
invoke-virtual {p1}, Landroid/net/Uri;->getPath()Ljava/lang/String;
@ -233,7 +233,7 @@
move-object v6, v1
:goto_4
sget-object v0, Lf/a/b/v0/b;->E:Lf/a/b/v0/b;
sget-object v0, Lf/a/b/q0/b;->E:Lf/a/b/q0/b;
const-string v0, "$this$isGuildTemplateLink"
@ -243,7 +243,7 @@
move-result-object v0
sget-object v7, Lf/a/b/v0/b;->e:Ljava/lang/String;
sget-object v7, Lf/a/b/q0/b;->e:Ljava/lang/String;
invoke-static {v0, v7, v3}, Ly/t/k;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
@ -255,7 +255,7 @@
move-result-object v0
sget-object v7, Lf/a/b/v0/b;->a:Ljava/lang/String;
sget-object v7, Lf/a/b/q0/b;->a:Ljava/lang/String;
invoke-static {v0, v7, v3}, Ly/t/k;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
@ -267,7 +267,7 @@
move-result-object v0
sget-object v7, Lf/a/b/v0/b;->b:Ljava/lang/String;
sget-object v7, Lf/a/b/q0/b;->b:Ljava/lang/String;
invoke-static {v0, v7, v3}, Ly/t/k;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
@ -282,7 +282,7 @@
if-eqz v0, :cond_a
sget-object v7, Lf/a/b/v0/b;->p:Lkotlin/text/Regex;
sget-object v7, Lf/a/b/q0/b;->p:Lkotlin/text/Regex;
invoke-virtual {v7, v0}, Lkotlin/text/Regex;->matches(Ljava/lang/CharSequence;)Z
@ -296,9 +296,9 @@
:cond_a
if-eqz v2, :cond_e
sget-object v0, Lf/a/b/v0/b;->E:Lf/a/b/v0/b;
sget-object v0, Lf/a/b/q0/b;->E:Lf/a/b/q0/b;
sget-object v0, Lf/a/b/v0/b;->p:Lkotlin/text/Regex;
sget-object v0, Lf/a/b/q0/b;->p:Lkotlin/text/Regex;
invoke-virtual {p1}, Landroid/net/Uri;->getPath()Ljava/lang/String;

View file

@ -24,7 +24,7 @@
.method public constructor <init>(Ljava/lang/Long;Lcom/discord/widgets/chat/input/sticker/StickerPickerScreen;)V
.locals 1
const-string v0, "stickerPickerScreen"
const-string/jumbo v0, "stickerPickerScreen"
invoke-static {p2, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
@ -99,7 +99,7 @@
.method public final copy(Ljava/lang/Long;Lcom/discord/widgets/chat/input/sticker/StickerPickerScreen;)Lcom/discord/stores/StoreExpressionPickerNavigation$ExpressionPickerEvent$OpenStickerPicker;
.locals 1
const-string v0, "stickerPickerScreen"
const-string/jumbo v0, "stickerPickerScreen"
invoke-static {p2, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V

View file

@ -61,7 +61,7 @@
.method public final invoke(Lrx/Subscription;)V
.locals 1
const-string/jumbo v0, "subscription"
const-string v0, "it"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V

View file

@ -238,7 +238,7 @@
.end method
.method private final requestGuildIntegrations(J)V
.locals 8
.locals 11
sget-object v0, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
@ -260,47 +260,31 @@
invoke-virtual {v0, v1}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
move-result-object v0
move-result-object v2
new-instance v5, Lcom/discord/stores/StoreGuildIntegrations$requestGuildIntegrations$1;
const-string v0, "RestAPI\n .api\n \u2026ormers.restSubscribeOn())"
invoke-direct {v5, p0, p1, p2}, Lcom/discord/stores/StoreGuildIntegrations$requestGuildIntegrations$1;-><init>(Lcom/discord/stores/StoreGuildIntegrations;J)V
invoke-static {v2, v0}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
const-class v3, Lcom/discord/stores/StoreGuildIntegrations;
const/16 p1, 0x3c
new-instance v8, Lcom/discord/stores/StoreGuildIntegrations$requestGuildIntegrations$1;
and-int/lit8 p2, p1, 0x4
invoke-direct {v8, p0, p1, p2}, Lcom/discord/stores/StoreGuildIntegrations$requestGuildIntegrations$1;-><init>(Lcom/discord/stores/StoreGuildIntegrations;J)V
and-int/lit8 p2, p1, 0x8
const/4 v4, 0x0
and-int/lit8 p2, p1, 0x10
const/4 v5, 0x0
and-int/lit8 p1, p1, 0x20
const-string p1, "onNext"
invoke-static {v5, p1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string p1, "errorClass"
invoke-static {v3, p1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance p1, Lf/a/b/c0;
const/4 v6, 0x0
const/4 v7, 0x0
move-object v1, p1
const/16 v9, 0x1e
move-object v2, v7
const/4 v10, 0x0
move-object v4, v7
move-object v6, v7
invoke-direct/range {v1 .. v7}, Lf/a/b/c0;-><init>(Landroid/content/Context;Ljava/lang/Class;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;Lkotlin/jvm/functions/Function0;)V
invoke-virtual {v0, p1}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
invoke-static/range {v2 .. v10}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
return-void
.end method
@ -397,7 +381,7 @@
.end method
.method public final declared-synchronized onIntegrationScreenClosed()V
.locals 9
.locals 12
monitor-enter p0
@ -415,61 +399,35 @@
invoke-static {v0, v1, v2}, Lrx/Observable;->Z(JLjava/util/concurrent/TimeUnit;)Lrx/Observable;
move-result-object v0
move-result-object v3
new-instance v5, Lcom/discord/stores/StoreGuildIntegrations$onIntegrationScreenClosed$1;
const-string v0, "Observable\n .time\u2026S, TimeUnit.MILLISECONDS)"
invoke-direct {v5, p0}, Lcom/discord/stores/StoreGuildIntegrations$onIntegrationScreenClosed$1;-><init>(Lcom/discord/stores/StoreGuildIntegrations;)V
invoke-static {v3, v0}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v3
move-result-object v4
new-instance v1, Lcom/discord/stores/StoreGuildIntegrations$onIntegrationScreenClosed$2;
const/4 v5, 0x0
invoke-direct {v1, p0}, Lcom/discord/stores/StoreGuildIntegrations$onIntegrationScreenClosed$2;-><init>(Lcom/discord/stores/StoreGuildIntegrations;)V
new-instance v9, Lcom/discord/stores/StoreGuildIntegrations$onIntegrationScreenClosed$1;
const/16 v2, 0x34
and-int/lit8 v4, v2, 0x4
and-int/lit8 v4, v2, 0x8
invoke-direct {v9, p0}, Lcom/discord/stores/StoreGuildIntegrations$onIntegrationScreenClosed$1;-><init>(Lcom/discord/stores/StoreGuildIntegrations;)V
const/4 v7, 0x0
if-eqz v4, :cond_1
const/4 v8, 0x0
move-object v4, v7
new-instance v6, Lcom/discord/stores/StoreGuildIntegrations$onIntegrationScreenClosed$2;
goto :goto_0
invoke-direct {v6, p0}, Lcom/discord/stores/StoreGuildIntegrations$onIntegrationScreenClosed$2;-><init>(Lcom/discord/stores/StoreGuildIntegrations;)V
:cond_1
move-object v4, v1
const/16 v10, 0x1a
:goto_0
and-int/lit8 v1, v2, 0x10
const/4 v11, 0x0
and-int/lit8 v1, v2, 0x20
const-string v1, "onNext"
invoke-static {v5, v1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v1, "errorClass"
invoke-static {v3, v1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v8, Lf/a/b/c0;
move-object v1, v8
move-object v2, v7
move-object v6, v7
invoke-direct/range {v1 .. v7}, Lf/a/b/c0;-><init>(Landroid/content/Context;Ljava/lang/Class;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;Lkotlin/jvm/functions/Function0;)V
invoke-virtual {v0, v8}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
invoke-static/range {v3 .. v11}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0

View file

@ -8,7 +8,7 @@
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$1;->call(Lcom/discord/stores/StoreMediaSettings$VoiceConfiguration;)V
value = Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$1;->invoke(Lcom/discord/stores/StoreMediaSettings$VoiceConfiguration;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$1;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "StoreMediaEngine.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,12 +18,10 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/stores/StoreMediaSettings$VoiceConfiguration;",
"Lkotlin/Unit;",
">;"
}
.end annotation
@ -39,16 +37,34 @@
iput-object p1, p0, Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$1;->this$0:Lcom/discord/stores/StoreMediaEngine;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public final call(Lcom/discord/stores/StoreMediaSettings$VoiceConfiguration;)V
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Lcom/discord/stores/StoreMediaSettings$VoiceConfiguration;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$1;->invoke(Lcom/discord/stores/StoreMediaSettings$VoiceConfiguration;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Lcom/discord/stores/StoreMediaSettings$VoiceConfiguration;)V
.locals 2
const-string/jumbo v0, "voiceConfig"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$1;->this$0:Lcom/discord/stores/StoreMediaEngine;
invoke-static {v0}, Lcom/discord/stores/StoreMediaEngine;->access$getDispatcher$p(Lcom/discord/stores/StoreMediaEngine;)Lcom/discord/stores/Dispatcher;
@ -63,13 +79,3 @@
return-void
.end method
.method public bridge synthetic call(Ljava/lang/Object;)V
.locals 0
check-cast p1, Lcom/discord/stores/StoreMediaSettings$VoiceConfiguration;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$1;->call(Lcom/discord/stores/StoreMediaSettings$VoiceConfiguration;)V
return-void
.end method

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$2;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "StoreMediaEngine.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,12 +18,10 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ljava/lang/Throwable;",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/utilities/error/Error;",
"Lkotlin/Unit;",
">;"
}
.end annotation
@ -47,41 +45,51 @@
.end method
.method public constructor <init>()V
.locals 0
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x1
invoke-direct {p0, v0}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Throwable;
check-cast p1, Lcom/discord/utilities/error/Error;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$2;->call(Ljava/lang/Throwable;)V
return-void
.end method
.method public final call(Ljava/lang/Throwable;)V
.locals 6
sget-object v0, Lcom/discord/app/AppLog;->e:Lcom/discord/app/AppLog;
const-string v1, "handleVoiceConfigChanged"
const/4 v3, 0x0
const/4 v4, 0x4
const/4 v5, 0x0
move-object v2, p1
invoke-static/range {v0 .. v5}, Lcom/discord/utilities/logging/Logger;->e$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/Throwable;Ljava/util/Map;ILjava/lang/Object;)V
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$2;->invoke(Lcom/discord/utilities/error/Error;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Lcom/discord/utilities/error/Error;)V
.locals 7
const-string v0, "error"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v1, Lcom/discord/app/AppLog;->e:Lcom/discord/app/AppLog;
invoke-virtual {p1}, Lcom/discord/utilities/error/Error;->getThrowable()Ljava/lang/Throwable;
move-result-object v3
const-string v2, "handleVoiceConfigChanged"
const/4 v4, 0x0
const/4 v5, 0x4
const/4 v6, 0x0
invoke-static/range {v1 .. v6}, Lcom/discord/utilities/logging/Logger;->e$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/Throwable;Ljava/util/Map;ILjava/lang/Object;)V
return-void
.end method

View file

@ -1,6 +1,6 @@
.class public final Lcom/discord/utilities/games/GameDetectionService$onCreate$6;
.class public final Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$3;
.super Ly/n/c/k;
.source "GameDetectionService.kt"
.source "StoreMediaEngine.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
@ -8,7 +8,7 @@
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/utilities/games/GameDetectionService;->onCreate()V
value = Lcom/discord/stores/StoreMediaEngine;->setupMediaEngineSettingsSubscription()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
@ -28,14 +28,14 @@
# instance fields
.field public final synthetic this$0:Lcom/discord/utilities/games/GameDetectionService;
.field public final synthetic this$0:Lcom/discord/stores/StoreMediaEngine;
# direct methods
.method public constructor <init>(Lcom/discord/utilities/games/GameDetectionService;)V
.method public constructor <init>(Lcom/discord/stores/StoreMediaEngine;)V
.locals 0
iput-object p1, p0, Lcom/discord/utilities/games/GameDetectionService$onCreate$6;->this$0:Lcom/discord/utilities/games/GameDetectionService;
iput-object p1, p0, Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$3;->this$0:Lcom/discord/stores/StoreMediaEngine;
const/4 p1, 0x1
@ -51,7 +51,7 @@
check-cast p1, Lrx/Subscription;
invoke-virtual {p0, p1}, Lcom/discord/utilities/games/GameDetectionService$onCreate$6;->invoke(Lrx/Subscription;)V
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$3;->invoke(Lrx/Subscription;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
@ -65,9 +65,9 @@
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lcom/discord/utilities/games/GameDetectionService$onCreate$6;->this$0:Lcom/discord/utilities/games/GameDetectionService;
iget-object v0, p0, Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$3;->this$0:Lcom/discord/stores/StoreMediaEngine;
invoke-static {v0, p1}, Lcom/discord/utilities/games/GameDetectionService;->access$setRunningGameSub$p(Lcom/discord/utilities/games/GameDetectionService;Lrx/Subscription;)V
invoke-static {v0, p1}, Lcom/discord/stores/StoreMediaEngine;->access$setMediaEngineSettingsSubscription$p(Lcom/discord/stores/StoreMediaEngine;Lrx/Subscription;)V
return-void
.end method

View file

@ -393,6 +393,14 @@
return-object p0
.end method
.method public static final synthetic access$getMediaEngineSettingsSubscription$p(Lcom/discord/stores/StoreMediaEngine;)Lrx/Subscription;
.locals 0
iget-object p0, p0, Lcom/discord/stores/StoreMediaEngine;->mediaEngineSettingsSubscription:Lrx/Subscription;
return-object p0
.end method
.method public static final synthetic access$getMediaSettingsStore$p(Lcom/discord/stores/StoreMediaEngine;)Lcom/discord/stores/StoreMediaSettings;
.locals 0
@ -457,6 +465,14 @@
return-void
.end method
.method public static final synthetic access$setMediaEngineSettingsSubscription$p(Lcom/discord/stores/StoreMediaEngine;Lrx/Subscription;)V
.locals 0
iput-object p1, p0, Lcom/discord/stores/StoreMediaEngine;->mediaEngineSettingsSubscription:Lrx/Subscription;
return-void
.end method
.method public static final synthetic access$setPreferredVideoInputDeviceGUID$p(Lcom/discord/stores/StoreMediaEngine;Ljava/lang/String;)V
.locals 0
@ -990,7 +1006,7 @@
.end method
.method private final declared-synchronized setupMediaEngineSettingsSubscription()V
.locals 3
.locals 10
monitor-enter p0
@ -1006,19 +1022,31 @@
invoke-virtual {v0}, Lcom/discord/stores/StoreMediaSettings;->getVoiceConfig()Lrx/Observable;
move-result-object v0
move-result-object v1
new-instance v1, Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$1;
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
invoke-direct {v1, p0}, Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$1;-><init>(Lcom/discord/stores/StoreMediaEngine;)V
move-result-object v2
sget-object v2, Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$2;->INSTANCE:Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$2;
const/4 v3, 0x0
invoke-virtual {v0, v1, v2}, Lrx/Observable;->S(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
new-instance v7, Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$1;
move-result-object v0
invoke-direct {v7, p0}, Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$1;-><init>(Lcom/discord/stores/StoreMediaEngine;)V
iput-object v0, p0, Lcom/discord/stores/StoreMediaEngine;->mediaEngineSettingsSubscription:Lrx/Subscription;
sget-object v5, Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$2;->INSTANCE:Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$2;
const/4 v6, 0x0
new-instance v4, Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$3;
invoke-direct {v4, p0}, Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$3;-><init>(Lcom/discord/stores/StoreMediaEngine;)V
const/16 v8, 0x12
const/4 v9, 0x0
invoke-static/range {v1 .. v9}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0

View file

@ -1167,7 +1167,7 @@
.end method
.method public final init()V
.locals 9
.locals 11
new-instance v0, Lcom/discord/stores/VoiceConfigurationCache;
@ -1179,6 +1179,8 @@
iput-object v0, p0, Lcom/discord/stores/StoreMediaSettings;->voiceConfigurationCache:Lcom/discord/stores/VoiceConfigurationCache;
if-eqz v0, :cond_0
invoke-virtual {v0}, Lcom/discord/stores/VoiceConfigurationCache;->read()Lcom/discord/stores/StoreMediaSettings$VoiceConfiguration;
move-result-object v0
@ -1249,49 +1251,42 @@
invoke-virtual {v0, v1}, Lrx/Observable;->U(Lh0/k/b;)Lrx/Observable;
move-result-object v0
move-result-object v2
new-instance v5, Lcom/discord/stores/StoreMediaSettings$init$2;
const-string/jumbo v0, "stream\n .voiceCha\u2026 }\n }"
invoke-direct {v5, p0}, Lcom/discord/stores/StoreMediaSettings$init$2;-><init>(Lcom/discord/stores/StoreMediaSettings;)V
invoke-static {v2, v0}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
const-class v3, Lcom/discord/stores/StoreMediaSettings;
const/16 v1, 0x3c
const/4 v4, 0x0
and-int/lit8 v2, v1, 0x4
const/4 v5, 0x0
and-int/lit8 v2, v1, 0x8
and-int/lit8 v2, v1, 0x10
and-int/lit8 v1, v1, 0x20
const-string v1, "onNext"
invoke-static {v5, v1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v1, "errorClass"
invoke-static {v3, v1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v8, Lf/a/b/c0;
const/4 v6, 0x0
const/4 v7, 0x0
move-object v1, v8
new-instance v8, Lcom/discord/stores/StoreMediaSettings$init$2;
move-object v2, v7
invoke-direct {v8, p0}, Lcom/discord/stores/StoreMediaSettings$init$2;-><init>(Lcom/discord/stores/StoreMediaSettings;)V
move-object v4, v7
const/16 v9, 0x1e
move-object v6, v7
const/4 v10, 0x0
invoke-direct/range {v1 .. v7}, Lf/a/b/c0;-><init>(Landroid/content/Context;Ljava/lang/Class;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;Lkotlin/jvm/functions/Function0;)V
invoke-virtual {v0, v8}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
invoke-static/range {v2 .. v10}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
return-void
:cond_0
const-string/jumbo v0, "voiceConfigurationCache"
invoke-static {v0}, Ly/n/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
const/4 v0, 0x0
throw v0
.end method
.method public final isSelfDeafened()Lrx/Observable;

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/stores/StoreMessageReactions$deleteEmoji$1;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "StoreMessageReactions.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,12 +18,10 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Void;",
"Lkotlin/Unit;",
">;"
}
.end annotation
@ -47,26 +45,30 @@
.end method
.method public constructor <init>()V
.locals 0
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x1
invoke-direct {p0, v0}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Void;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMessageReactions$deleteEmoji$1;->call(Ljava/lang/Void;)V
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMessageReactions$deleteEmoji$1;->invoke(Ljava/lang/Void;)V
return-void
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final call(Ljava/lang/Void;)V
.method public final invoke(Ljava/lang/Void;)V
.locals 0
return-void

View file

@ -1,73 +0,0 @@
.class public final Lcom/discord/stores/StoreMessageReactions$deleteEmoji$2;
.super Ljava/lang/Object;
.source "StoreMessageReactions.kt"
# interfaces
.implements Lrx/functions/Action1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreMessageReactions;->deleteEmoji(JJLcom/discord/models/domain/ModelMessageReaction$Emoji;J)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
# static fields
.field public static final INSTANCE:Lcom/discord/stores/StoreMessageReactions$deleteEmoji$2;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/discord/stores/StoreMessageReactions$deleteEmoji$2;
invoke-direct {v0}, Lcom/discord/stores/StoreMessageReactions$deleteEmoji$2;-><init>()V
sput-object v0, Lcom/discord/stores/StoreMessageReactions$deleteEmoji$2;->INSTANCE:Lcom/discord/stores/StoreMessageReactions$deleteEmoji$2;
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.locals 0
check-cast p1, Ljava/lang/Throwable;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMessageReactions$deleteEmoji$2;->call(Ljava/lang/Throwable;)V
return-void
.end method
.method public final call(Ljava/lang/Throwable;)V
.locals 0
return-void
.end method

View file

@ -8,7 +8,7 @@
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreMessageReactions$fetchReactions$1;->call(Ljava/util/List;)V
value = Lcom/discord/stores/StoreMessageReactions$fetchReactions$1;->invoke(Ljava/util/List;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
@ -74,10 +74,6 @@
iget-object v7, p0, Lcom/discord/stores/StoreMessageReactions$fetchReactions$1$1;->$reactionUsers:Ljava/util/List;
const-string v0, "reactionUsers"
invoke-static {v7, v0}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static/range {v1 .. v7}, Lcom/discord/stores/StoreMessageReactions;->access$handleReactionUsers(Lcom/discord/stores/StoreMessageReactions;JJLcom/discord/models/domain/ModelMessageReaction$Emoji;Ljava/util/List;)V
return-void

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/stores/StoreMessageReactions$fetchReactions$1;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "StoreMessageReactions.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,15 +18,14 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/util/List<",
"+",
"Lcom/discord/models/domain/ModelUser;",
">;>;"
">;",
"Lkotlin/Unit;",
">;"
}
.end annotation
@ -53,24 +52,28 @@
iput-object p6, p0, Lcom/discord/stores/StoreMessageReactions$fetchReactions$1;->$emoji:Lcom/discord/models/domain/ModelMessageReaction$Emoji;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/util/List;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMessageReactions$fetchReactions$1;->call(Ljava/util/List;)V
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMessageReactions$fetchReactions$1;->invoke(Ljava/util/List;)V
return-void
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final call(Ljava/util/List;)V
.method public final invoke(Ljava/util/List;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
@ -82,6 +85,10 @@
}
.end annotation
const-string v0, "reactionUsers"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lcom/discord/stores/StoreMessageReactions$fetchReactions$1;->this$0:Lcom/discord/stores/StoreMessageReactions;
invoke-static {v0}, Lcom/discord/stores/StoreMessageReactions;->access$getDispatcher$p(Lcom/discord/stores/StoreMessageReactions;)Lcom/discord/stores/Dispatcher;

View file

@ -8,7 +8,7 @@
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreMessageReactions$fetchReactions$2;->call(Ljava/lang/Throwable;)V
value = Lcom/discord/stores/StoreMessageReactions$fetchReactions$2;->invoke(Lcom/discord/utilities/error/Error;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/stores/StoreMessageReactions$fetchReactions$2;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "StoreMessageReactions.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,12 +18,10 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ljava/lang/Throwable;",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/utilities/error/Error;",
"Lkotlin/Unit;",
">;"
}
.end annotation
@ -51,26 +49,34 @@
iput-object p6, p0, Lcom/discord/stores/StoreMessageReactions$fetchReactions$2;->$emoji:Lcom/discord/models/domain/ModelMessageReaction$Emoji;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Throwable;
check-cast p1, Lcom/discord/utilities/error/Error;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMessageReactions$fetchReactions$2;->call(Ljava/lang/Throwable;)V
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMessageReactions$fetchReactions$2;->invoke(Lcom/discord/utilities/error/Error;)V
return-void
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final call(Ljava/lang/Throwable;)V
.method public final invoke(Lcom/discord/utilities/error/Error;)V
.locals 1
const-string v0, "it"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p1, p0, Lcom/discord/stores/StoreMessageReactions$fetchReactions$2;->this$0:Lcom/discord/stores/StoreMessageReactions;
invoke-static {p1}, Lcom/discord/stores/StoreMessageReactions;->access$getDispatcher$p(Lcom/discord/stores/StoreMessageReactions;)Lcom/discord/stores/Dispatcher;

View file

@ -195,7 +195,7 @@
.end method
.method private final fetchReactions(JJLcom/discord/models/domain/ModelMessageReaction$Emoji;)V
.locals 16
.locals 17
.annotation runtime Lcom/discord/stores/StoreThread;
.end annotation
@ -301,9 +301,15 @@
move-result-object v8
new-instance v9, Lcom/discord/stores/StoreMessageReactions$fetchReactions$1;
const-class v9, Lcom/discord/stores/StoreMessageReactions;
move-object v0, v9
const/4 v10, 0x0
const/4 v11, 0x0
new-instance v14, Lcom/discord/stores/StoreMessageReactions$fetchReactions$1;
move-object v0, v14
move-object/from16 v1, p0
@ -315,13 +321,19 @@
invoke-direct/range {v0 .. v6}, Lcom/discord/stores/StoreMessageReactions$fetchReactions$1;-><init>(Lcom/discord/stores/StoreMessageReactions;JJLcom/discord/models/domain/ModelMessageReaction$Emoji;)V
new-instance v10, Lcom/discord/stores/StoreMessageReactions$fetchReactions$2;
const/4 v13, 0x0
move-object v0, v10
new-instance v12, Lcom/discord/stores/StoreMessageReactions$fetchReactions$2;
move-object v0, v12
invoke-direct/range {v0 .. v6}, Lcom/discord/stores/StoreMessageReactions$fetchReactions$2;-><init>(Lcom/discord/stores/StoreMessageReactions;JJLcom/discord/models/domain/ModelMessageReaction$Emoji;)V
invoke-virtual {v8, v9, v10}, Lrx/Observable;->S(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
const/16 v15, 0x16
const/16 v16, 0x0
invoke-static/range {v8 .. v16}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
return-void
.end method
@ -546,17 +558,17 @@
# virtual methods
.method public final deleteEmoji(JJLcom/discord/models/domain/ModelMessageReaction$Emoji;J)V
.locals 10
.locals 14
move-object v0, p5
move-object/from16 v0, p5
const-string v1, "emoji"
invoke-static {p5, v1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v0, v1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
move-object v1, p0
invoke-direct {p0, p5}, Lcom/discord/stores/StoreMessageReactions;->getReactionEmojiRequestParam(Lcom/discord/models/domain/ModelMessageReaction$Emoji;)Ljava/lang/String;
invoke-direct {p0, v0}, Lcom/discord/stores/StoreMessageReactions;->getReactionEmojiRequestParam(Lcom/discord/models/domain/ModelMessageReaction$Emoji;)Ljava/lang/String;
move-result-object v7
@ -568,7 +580,7 @@
move-wide v3, p1
move-wide v5, p3
move-wide/from16 v5, p3
move-wide/from16 v8, p6
@ -584,13 +596,25 @@
invoke-static {v0, v2, v3, v4}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->restSubscribeOn$default(Lrx/Observable;ZILjava/lang/Object;)Lrx/Observable;
move-result-object v0
move-result-object v5
sget-object v2, Lcom/discord/stores/StoreMessageReactions$deleteEmoji$1;->INSTANCE:Lcom/discord/stores/StoreMessageReactions$deleteEmoji$1;
const-class v6, Lcom/discord/stores/StoreMessageReactions;
sget-object v3, Lcom/discord/stores/StoreMessageReactions$deleteEmoji$2;->INSTANCE:Lcom/discord/stores/StoreMessageReactions$deleteEmoji$2;
sget-object v11, Lcom/discord/stores/StoreMessageReactions$deleteEmoji$1;->INSTANCE:Lcom/discord/stores/StoreMessageReactions$deleteEmoji$1;
invoke-virtual {v0, v2, v3}, Lrx/Observable;->S(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
const/4 v7, 0x0
const/4 v8, 0x0
const/4 v9, 0x0
const/4 v10, 0x0
const/16 v12, 0x1e
const/4 v13, 0x0
invoke-static/range {v5 .. v13}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
return-void
.end method

View file

@ -3,7 +3,7 @@
.source "StoreMessages.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function0;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -19,100 +19,57 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function0<",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Void;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field public final synthetic $channelId:J
.field public final synthetic $message:Lcom/discord/models/domain/ModelMessage;
.field public final synthetic this$0:Lcom/discord/stores/StoreMessages;
# static fields
.field public static final INSTANCE:Lcom/discord/stores/StoreMessages$deleteMessage$1;
# direct methods
.method public constructor <init>(Lcom/discord/stores/StoreMessages;Lcom/discord/models/domain/ModelMessage;J)V
.locals 0
.method public static constructor <clinit>()V
.locals 1
iput-object p1, p0, Lcom/discord/stores/StoreMessages$deleteMessage$1;->this$0:Lcom/discord/stores/StoreMessages;
new-instance v0, Lcom/discord/stores/StoreMessages$deleteMessage$1;
iput-object p2, p0, Lcom/discord/stores/StoreMessages$deleteMessage$1;->$message:Lcom/discord/models/domain/ModelMessage;
invoke-direct {v0}, Lcom/discord/stores/StoreMessages$deleteMessage$1;-><init>()V
iput-wide p3, p0, Lcom/discord/stores/StoreMessages$deleteMessage$1;->$channelId:J
sput-object v0, Lcom/discord/stores/StoreMessages$deleteMessage$1;->INSTANCE:Lcom/discord/stores/StoreMessages$deleteMessage$1;
const/4 p1, 0x0
return-void
.end method
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
.method public constructor <init>()V
.locals 1
const/4 v0, 0x1
invoke-direct {p0, v0}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic invoke()Ljava/lang/Object;
.locals 1
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
invoke-virtual {p0}, Lcom/discord/stores/StoreMessages$deleteMessage$1;->invoke()V
check-cast p1, Ljava/lang/Void;
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMessages$deleteMessage$1;->invoke(Ljava/lang/Void;)V
return-object v0
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke()V
.locals 4
.method public final invoke(Ljava/lang/Void;)V
.locals 0
iget-object v0, p0, Lcom/discord/stores/StoreMessages$deleteMessage$1;->$message:Lcom/discord/models/domain/ModelMessage;
invoke-virtual {v0}, Lcom/discord/models/domain/ModelMessage;->getNonce()Ljava/lang/String;
move-result-object v0
if-eqz v0, :cond_0
iget-object v1, p0, Lcom/discord/stores/StoreMessages$deleteMessage$1;->this$0:Lcom/discord/stores/StoreMessages;
iget-wide v2, p0, Lcom/discord/stores/StoreMessages$deleteMessage$1;->$channelId:J
invoke-static {v1, v2, v3}, Lcom/discord/stores/StoreMessages;->access$getMessageQueue(Lcom/discord/stores/StoreMessages;J)Lcom/discord/utilities/messagesend/MessageQueue;
move-result-object v1
const-string v2, "nonce"
invoke-static {v0, v2}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v1, v0}, Lcom/discord/utilities/messagesend/MessageQueue;->cancel(Ljava/lang/String;)V
:cond_0
iget-object v0, p0, Lcom/discord/stores/StoreMessages$deleteMessage$1;->this$0:Lcom/discord/stores/StoreMessages;
iget-object v1, p0, Lcom/discord/stores/StoreMessages$deleteMessage$1;->$message:Lcom/discord/models/domain/ModelMessage;
invoke-static {v0, v1}, Lcom/discord/stores/StoreMessages;->access$handleLocalMessageDelete(Lcom/discord/stores/StoreMessages;Lcom/discord/models/domain/ModelMessage;)V
iget-object v0, p0, Lcom/discord/stores/StoreMessages$deleteMessage$1;->$message:Lcom/discord/models/domain/ModelMessage;
invoke-virtual {v0}, Lcom/discord/models/domain/ModelMessage;->getType()I
move-result v0
const/4 v1, -0x2
if-ne v0, v1, :cond_1
iget-object v0, p0, Lcom/discord/stores/StoreMessages$deleteMessage$1;->this$0:Lcom/discord/stores/StoreMessages;
iget-object v1, p0, Lcom/discord/stores/StoreMessages$deleteMessage$1;->$message:Lcom/discord/models/domain/ModelMessage;
sget-object v2, Lcom/discord/stores/FailedMessageResolutionType;->DELETED:Lcom/discord/stores/FailedMessageResolutionType;
invoke-static {v0, v1, v2}, Lcom/discord/stores/StoreMessages;->access$trackFailedLocalMessageResolved(Lcom/discord/stores/StoreMessages;Lcom/discord/models/domain/ModelMessage;Lcom/discord/stores/FailedMessageResolutionType;)V
:cond_1
return-void
.end method

View file

@ -0,0 +1,118 @@
.class public final Lcom/discord/stores/StoreMessages$deleteMessage$2;
.super Ly/n/c/k;
.source "StoreMessages.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function0;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreMessages;->deleteMessage(Lcom/discord/models/domain/ModelMessage;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function0<",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field public final synthetic $channelId:J
.field public final synthetic $message:Lcom/discord/models/domain/ModelMessage;
.field public final synthetic this$0:Lcom/discord/stores/StoreMessages;
# direct methods
.method public constructor <init>(Lcom/discord/stores/StoreMessages;Lcom/discord/models/domain/ModelMessage;J)V
.locals 0
iput-object p1, p0, Lcom/discord/stores/StoreMessages$deleteMessage$2;->this$0:Lcom/discord/stores/StoreMessages;
iput-object p2, p0, Lcom/discord/stores/StoreMessages$deleteMessage$2;->$message:Lcom/discord/models/domain/ModelMessage;
iput-wide p3, p0, Lcom/discord/stores/StoreMessages$deleteMessage$2;->$channelId:J
const/4 p1, 0x0
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic invoke()Ljava/lang/Object;
.locals 1
invoke-virtual {p0}, Lcom/discord/stores/StoreMessages$deleteMessage$2;->invoke()V
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object v0
.end method
.method public final invoke()V
.locals 4
iget-object v0, p0, Lcom/discord/stores/StoreMessages$deleteMessage$2;->$message:Lcom/discord/models/domain/ModelMessage;
invoke-virtual {v0}, Lcom/discord/models/domain/ModelMessage;->getNonce()Ljava/lang/String;
move-result-object v0
if-eqz v0, :cond_0
iget-object v1, p0, Lcom/discord/stores/StoreMessages$deleteMessage$2;->this$0:Lcom/discord/stores/StoreMessages;
iget-wide v2, p0, Lcom/discord/stores/StoreMessages$deleteMessage$2;->$channelId:J
invoke-static {v1, v2, v3}, Lcom/discord/stores/StoreMessages;->access$getMessageQueue(Lcom/discord/stores/StoreMessages;J)Lcom/discord/utilities/messagesend/MessageQueue;
move-result-object v1
const-string v2, "nonce"
invoke-static {v0, v2}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v1, v0}, Lcom/discord/utilities/messagesend/MessageQueue;->cancel(Ljava/lang/String;)V
:cond_0
iget-object v0, p0, Lcom/discord/stores/StoreMessages$deleteMessage$2;->this$0:Lcom/discord/stores/StoreMessages;
iget-object v1, p0, Lcom/discord/stores/StoreMessages$deleteMessage$2;->$message:Lcom/discord/models/domain/ModelMessage;
invoke-static {v0, v1}, Lcom/discord/stores/StoreMessages;->access$handleLocalMessageDelete(Lcom/discord/stores/StoreMessages;Lcom/discord/models/domain/ModelMessage;)V
iget-object v0, p0, Lcom/discord/stores/StoreMessages$deleteMessage$2;->$message:Lcom/discord/models/domain/ModelMessage;
invoke-virtual {v0}, Lcom/discord/models/domain/ModelMessage;->getType()I
move-result v0
const/4 v1, -0x2
if-ne v0, v1, :cond_1
iget-object v0, p0, Lcom/discord/stores/StoreMessages$deleteMessage$2;->this$0:Lcom/discord/stores/StoreMessages;
iget-object v1, p0, Lcom/discord/stores/StoreMessages$deleteMessage$2;->$message:Lcom/discord/models/domain/ModelMessage;
sget-object v2, Lcom/discord/stores/FailedMessageResolutionType;->DELETED:Lcom/discord/stores/FailedMessageResolutionType;
invoke-static {v0, v1, v2}, Lcom/discord/stores/StoreMessages;->access$trackFailedLocalMessageResolved(Lcom/discord/stores/StoreMessages;Lcom/discord/models/domain/ModelMessage;Lcom/discord/stores/FailedMessageResolutionType;)V
:cond_1
return-void
.end method

View file

@ -1252,7 +1252,7 @@
.end method
.method public final deleteMessage(Lcom/discord/models/domain/ModelMessage;)V
.locals 8
.locals 10
if-nez p1, :cond_0
@ -1295,44 +1295,36 @@
move-result-object v1
const-string v3, "deleteMessage"
const-string p1, "err"
invoke-static {v3, p1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v5, Lf/a/b/f0;->d:Lf/a/b/f0;
const/4 v4, 0x0
const/4 v6, 0x0
const-string p1, "onNext"
invoke-static {v5, p1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string p1, "errorTag"
invoke-static {v3, p1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string p1, "observable"
const-string p1, "RestAPI\n .api\n \u2026ormers.restSubscribeOn())"
invoke-static {v1, p1}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v7, Lf/a/b/d0;->d:Lf/a/b/d0;
const/4 v2, 0x0
move-object v2, v4
const/4 v4, 0x0
invoke-static/range {v1 .. v7}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe(Lrx/Observable;Landroid/content/Context;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;)V
sget-object v5, Lcom/discord/stores/StoreMessages$deleteMessage$1;->INSTANCE:Lcom/discord/stores/StoreMessages$deleteMessage$1;
const/4 v6, 0x0
const/4 v7, 0x0
const/16 v8, 0x35
const/4 v9, 0x0
const-string v3, "deleteMessage"
invoke-static/range {v1 .. v9}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Landroid/content/Context;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V
goto :goto_0
:cond_1
iget-object v0, p0, Lcom/discord/stores/StoreMessages;->dispatcher:Lcom/discord/stores/Dispatcher;
new-instance v1, Lcom/discord/stores/StoreMessages$deleteMessage$1;
new-instance v1, Lcom/discord/stores/StoreMessages$deleteMessage$2;
invoke-direct {v1, p0, p1, v2, v3}, Lcom/discord/stores/StoreMessages$deleteMessage$1;-><init>(Lcom/discord/stores/StoreMessages;Lcom/discord/models/domain/ModelMessage;J)V
invoke-direct {v1, p0, p1, v2, v3}, Lcom/discord/stores/StoreMessages$deleteMessage$2;-><init>(Lcom/discord/stores/StoreMessages;Lcom/discord/models/domain/ModelMessage;J)V
invoke-virtual {v0, v1}, Lcom/discord/stores/Dispatcher;->schedule(Lkotlin/jvm/functions/Function0;)V
@ -1972,10 +1964,14 @@
move-result-object v6
const-string v7, "message.content"
if-eqz v6, :cond_4
invoke-static {v6, v7}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
goto :goto_2
:cond_4
const-string v6, ""
:goto_2
invoke-virtual/range {p1 .. p1}, Lcom/discord/models/domain/ModelMessage;->getMentions()Ljava/util/List;
move-result-object v7
@ -1984,7 +1980,7 @@
const/4 v9, 0x0
if-eqz v8, :cond_4
if-eqz v8, :cond_5
new-instance v10, Ljava/util/ArrayList;
@ -2000,12 +1996,12 @@
move-result-object v8
:goto_2
:goto_3
invoke-interface {v8}, Ljava/util/Iterator;->hasNext()Z
move-result v11
if-eqz v11, :cond_5
if-eqz v11, :cond_6
invoke-interface {v8}, Ljava/util/Iterator;->next()Ljava/lang/Object;
@ -2049,12 +2045,12 @@
invoke-interface {v10, v11}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
goto :goto_2
:cond_4
move-object v10, v9
goto :goto_3
:cond_5
move-object v10, v9
:cond_6
const/4 v8, 0x0
const/4 v11, 0x0
@ -2067,7 +2063,7 @@
const/16 v20, 0x0
if-eqz v1, :cond_6
if-eqz v1, :cond_7
invoke-virtual/range {p1 .. p1}, Lcom/discord/models/domain/ModelMessage;->getLastManualAttemptTimestamp()Ljava/lang/Long;
@ -2075,12 +2071,12 @@
move-object/from16 v21, v1
goto :goto_3
goto :goto_4
:cond_6
:cond_7
move-object/from16 v21, v9
:goto_3
:goto_4
invoke-virtual/range {p1 .. p1}, Lcom/discord/models/domain/ModelMessage;->getInitialAttemptTimestamp()Ljava/lang/Long;
move-result-object v14

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$$inlined$apply$lambda$1;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "StoreMessagesLoader.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,15 +18,14 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/util/List<",
"+",
"Lcom/discord/models/domain/ModelMessage;",
">;>;"
">;",
"Lkotlin/Unit;",
">;"
}
.end annotation
@ -61,24 +60,28 @@
iput-object p7, p0, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$$inlined$apply$lambda$1;->$loadPagedMessages$4$inlined:Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$4;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/util/List;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$$inlined$apply$lambda$1;->call(Ljava/util/List;)V
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$$inlined$apply$lambda$1;->invoke(Ljava/util/List;)V
return-void
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final call(Ljava/util/List;)V
.method public final invoke(Ljava/util/List;)V
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$$inlined$apply$lambda$2;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "StoreMessagesLoader.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,12 +18,10 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ljava/lang/Throwable;",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/utilities/error/Error;",
"Lkotlin/Unit;",
">;"
}
.end annotation
@ -51,26 +49,34 @@
iput-object p5, p0, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$$inlined$apply$lambda$2;->$loadPagedMessages$4$inlined:Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$4;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Throwable;
check-cast p1, Lcom/discord/utilities/error/Error;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$$inlined$apply$lambda$2;->call(Ljava/lang/Throwable;)V
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$$inlined$apply$lambda$2;->invoke(Lcom/discord/utilities/error/Error;)V
return-void
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final call(Ljava/lang/Throwable;)V
.method public final invoke(Lcom/discord/utilities/error/Error;)V
.locals 2
const-string v0, "it"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p1, p0, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$$inlined$apply$lambda$2;->this$0:Lcom/discord/stores/StoreMessagesLoader;
iget-wide v0, p0, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$$inlined$apply$lambda$2;->$channelId$inlined:J

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3$3;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "StoreMessagesLoader.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,12 +18,10 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/utilities/error/Error;",
"Lkotlin/Unit;",
">;"
}
.end annotation
@ -43,16 +41,34 @@
iput-wide p2, p0, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3$3;->$channelId:J
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public final call(Lcom/discord/utilities/error/Error;)V
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Lcom/discord/utilities/error/Error;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3$3;->invoke(Lcom/discord/utilities/error/Error;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Lcom/discord/utilities/error/Error;)V
.locals 2
const-string v0, "it"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p1, p0, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3$3;->this$0:Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3;
iget-object p1, p1, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3;->this$0:Lcom/discord/stores/StoreMessagesLoader;
@ -63,13 +79,3 @@
return-void
.end method
.method public bridge synthetic call(Ljava/lang/Object;)V
.locals 0
check-cast p1, Lcom/discord/utilities/error/Error;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3$3;->call(Lcom/discord/utilities/error/Error;)V
return-void
.end method

View file

@ -130,16 +130,20 @@
.end method
.method public final declared-synchronized invoke(JLjava/lang/Long;Ljava/lang/Long;Ljava/lang/Long;)V
.locals 10
.locals 18
move-object/from16 v8, p0
move-wide/from16 v9, p1
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3;->this$0:Lcom/discord/stores/StoreMessagesLoader;
iget-object v0, v8, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3;->this$0:Lcom/discord/stores/StoreMessagesLoader;
sget-object v1, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3$1;->INSTANCE:Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3$1;
invoke-static {v0, p1, p2, v1}, Lcom/discord/stores/StoreMessagesLoader;->access$channelLoadedStateUpdate(Lcom/discord/stores/StoreMessagesLoader;JLkotlin/jvm/functions/Function1;)V
invoke-static {v0, v9, v10, v1}, Lcom/discord/stores/StoreMessagesLoader;->access$channelLoadedStateUpdate(Lcom/discord/stores/StoreMessagesLoader;JLkotlin/jvm/functions/Function1;)V
const-wide/16 v0, 0x1
@ -148,7 +152,7 @@
goto :goto_0
:cond_0
invoke-virtual {p3}, Ljava/lang/Long;->longValue()J
invoke-virtual/range {p3 .. p3}, Ljava/lang/Long;->longValue()J
move-result-wide v2
@ -167,7 +171,7 @@
goto :goto_1
:cond_2
invoke-virtual {p3}, Ljava/lang/Long;->longValue()J
invoke-virtual/range {p3 .. p3}, Ljava/lang/Long;->longValue()J
move-result-wide v2
@ -188,7 +192,7 @@
move-result-object v1
iget-object v0, p0, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3;->this$0:Lcom/discord/stores/StoreMessagesLoader;
iget-object v0, v8, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3;->this$0:Lcom/discord/stores/StoreMessagesLoader;
invoke-static {v0}, Lcom/discord/stores/StoreMessagesLoader;->access$getMessageRequestSize$p(Lcom/discord/stores/StoreMessagesLoader;)I
@ -198,11 +202,11 @@
move-result-object v6
move-wide v2, p1
move-wide/from16 v2, p1
move-object v4, p4
move-object/from16 v4, p4
move-object v5, p5
move-object/from16 v5, p5
invoke-virtual/range {v1 .. v6}, Lcom/discord/utilities/rest/RestAPI;->getChannelMessages(JLjava/lang/Long;Ljava/lang/Long;Ljava/lang/Integer;)Lrx/Observable;
@ -217,24 +221,24 @@
move-result-object v1
iget-object v0, p0, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3;->this$0:Lcom/discord/stores/StoreMessagesLoader;
iget-object v0, v8, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3;->this$0:Lcom/discord/stores/StoreMessagesLoader;
invoke-static {v0}, Lcom/discord/stores/StoreMessagesLoader;->access$getMessageRequestSize$p(Lcom/discord/stores/StoreMessagesLoader;)I
move-result v4
invoke-virtual {p3}, Ljava/lang/Long;->longValue()J
invoke-virtual/range {p3 .. p3}, Ljava/lang/Long;->longValue()J
move-result-wide v5
move-wide v2, p1
move-wide/from16 v2, p1
invoke-virtual/range {v1 .. v6}, Lcom/discord/utilities/rest/RestAPI;->getChannelMessagesAround(JIJ)Lrx/Observable;
move-result-object v0
:goto_3
iget-object v1, p0, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3;->this$0:Lcom/discord/stores/StoreMessagesLoader;
iget-object v1, v8, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3;->this$0:Lcom/discord/stores/StoreMessagesLoader;
invoke-static {v1}, Lcom/discord/stores/StoreMessagesLoader;->access$getChannelMessagesLoadingSubject$p(Lcom/discord/stores/StoreMessagesLoader;)Lrx/subjects/SerializedSubject;
@ -262,69 +266,55 @@
invoke-static {v0}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->computationLatest(Lrx/Observable;)Lrx/Observable;
move-result-object v2
move-result-object v0
new-instance v0, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3$2;
iget-object v1, v8, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3;->this$0:Lcom/discord/stores/StoreMessagesLoader;
move-object v3, v0
invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-object v4, p0
move-result-object v11
move-wide v5, p1
const/4 v12, 0x0
move-object v7, p3
new-instance v15, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3$2;
move-object v8, p4
move-object v1, v15
move-object v9, p5
move-object/from16 v2, p0
invoke-direct/range {v3 .. v9}, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3$2;-><init>(Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3;JLjava/lang/Long;Ljava/lang/Long;Ljava/lang/Long;)V
move-wide/from16 v3, p1
iget-object p3, p0, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3;->this$0:Lcom/discord/stores/StoreMessagesLoader;
move-object/from16 v5, p3
invoke-virtual {p3}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-object/from16 v6, p4
move-result-object p3
move-object/from16 v7, p5
new-instance p4, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3$3;
invoke-direct/range {v1 .. v7}, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3$2;-><init>(Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3;JLjava/lang/Long;Ljava/lang/Long;Ljava/lang/Long;)V
invoke-direct {p4, p0, p1, p2}, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3$3;-><init>(Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3;J)V
new-instance v13, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3$3;
new-instance v5, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3$4;
invoke-direct {v13, v8, v9, v10}, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3$3;-><init>(Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3;J)V
invoke-direct {v5, p0}, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3$4;-><init>(Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3;)V
const/4 v14, 0x0
const/4 v3, 0x0
new-instance v1, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3$4;
const-string p1, "onNext"
invoke-direct {v1, v8}, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3$4;-><init>(Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$3;)V
invoke-static {v0, p1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const/16 v16, 0x12
const-string p1, "errorClass"
const/16 v17, 0x0
invoke-static {p3, p1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
move-object v9, v0
const-string p1, "observable"
move-object v10, v11
invoke-static {v2, p1}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
move-object v11, v12
invoke-virtual {p3}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-object v12, v1
move-result-object v4
const-string p1, "errorClass.simpleName"
invoke-static {v4, p1}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v7, Lf/a/b/p0;
invoke-direct {v7, p4}, Lf/a/b/p0;-><init>(Lrx/functions/Action1;)V
sget-object v8, Lf/a/b/b0;->d:Lf/a/b/b0;
move-object v6, v0
invoke-static/range {v2 .. v8}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe(Lrx/Observable;Landroid/content/Context;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;)V
invoke-static/range {v9 .. v17}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
@ -333,9 +323,9 @@
return-void
:catchall_0
move-exception p1
move-exception v0
monitor-exit p0
throw p1
throw v0
.end method

View file

@ -1172,7 +1172,7 @@
.end method
.method private final declared-synchronized tryLoadMessages(JZZZLjava/lang/Long;Ljava/lang/Long;)V
.locals 19
.locals 23
move-object/from16 v9, p0
@ -1435,11 +1435,11 @@
:cond_c
invoke-virtual {v2}, Lcom/discord/stores/StoreChat$InteractionState;->getChannelId()J
move-result-wide v1
move-result-wide v5
cmp-long v5, v1, v11
cmp-long v1, v5, v11
if-nez v5, :cond_f
if-nez v1, :cond_f
if-nez v3, :cond_d
@ -1462,21 +1462,21 @@
const-wide/16 v5, 0x0
const/4 v2, 0x0
const/4 v7, 0x0
const/4 v7, 0x3
const/4 v8, 0x3
const/4 v8, 0x0
const/4 v10, 0x0
move-object/from16 p1, v1
move-wide/from16 p2, v5
move/from16 p4, v2
move/from16 p4, v7
move/from16 p5, v7
move/from16 p5, v8
move-object/from16 p6, v8
move-object/from16 p6, v10
invoke-static/range {p1 .. p6}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->takeSingleUntilTimeout$default(Lrx/Observable;JZILjava/lang/Object;)Lrx/Observable;
@ -1484,11 +1484,19 @@
invoke-static {v1}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->computationBuffered(Lrx/Observable;)Lrx/Observable;
move-result-object v10
move-result-object v14
new-instance v14, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$$inlined$apply$lambda$1;
invoke-virtual {v2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-object v1, v14
move-result-object v15
const/16 v16, 0x0
const/16 v17, 0x0
new-instance v20, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$$inlined$apply$lambda$1;
move-object/from16 v1, v20
move v2, v3
@ -1504,9 +1512,11 @@
invoke-direct/range {v1 .. v8}, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$$inlined$apply$lambda$1;-><init>(ZZLcom/discord/stores/StoreMessagesLoader;Lcom/discord/stores/StoreMessagesLoader$ChannelLoadedState;JLcom/discord/stores/StoreMessagesLoader$tryLoadMessages$4;)V
new-instance v1, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$$inlined$apply$lambda$2;
const/16 v19, 0x0
move-object/from16 p1, v1
new-instance v18, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$$inlined$apply$lambda$2;
move-object/from16 p1, v18
move-object/from16 p2, p0
@ -1518,7 +1528,11 @@
invoke-direct/range {p1 .. p6}, Lcom/discord/stores/StoreMessagesLoader$tryLoadMessages$$inlined$apply$lambda$2;-><init>(Lcom/discord/stores/StoreMessagesLoader;Lcom/discord/stores/StoreMessagesLoader$ChannelLoadedState;JLcom/discord/stores/StoreMessagesLoader$tryLoadMessages$4;)V
invoke-virtual {v10, v14, v1}, Lrx/Observable;->S(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
const/16 v21, 0x16
const/16 v22, 0x0
invoke-static/range {v14 .. v22}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
goto :goto_3

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/stores/StoreNotices$init$2;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "StoreNotices.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,12 +18,10 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Long;",
"Lkotlin/Unit;",
">;"
}
.end annotation
@ -39,14 +37,28 @@
iput-object p1, p0, Lcom/discord/stores/StoreNotices$init$2;->this$0:Lcom/discord/stores/StoreNotices;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public final call(Ljava/lang/Long;)V
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Long;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreNotices$init$2;->invoke(Ljava/lang/Long;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Ljava/lang/Long;)V
.locals 0
iget-object p1, p0, Lcom/discord/stores/StoreNotices$init$2;->this$0:Lcom/discord/stores/StoreNotices;
@ -55,13 +67,3 @@
return-void
.end method
.method public bridge synthetic call(Ljava/lang/Object;)V
.locals 0
check-cast p1, Ljava/lang/Long;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreNotices$init$2;->call(Ljava/lang/Long;)V
return-void
.end method

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/stores/StoreNotices$init$3;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "StoreNotices.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,12 +18,10 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ljava/lang/Throwable;",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/utilities/error/Error;",
"Lkotlin/Unit;",
">;"
}
.end annotation
@ -39,33 +37,41 @@
iput-object p1, p0, Lcom/discord/stores/StoreNotices$init$3;->this$0:Lcom/discord/stores/StoreNotices;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Throwable;
check-cast p1, Lcom/discord/utilities/error/Error;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreNotices$init$3;->call(Ljava/lang/Throwable;)V
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreNotices$init$3;->invoke(Lcom/discord/utilities/error/Error;)V
return-void
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final call(Ljava/lang/Throwable;)V
.locals 6
.method public final invoke(Lcom/discord/utilities/error/Error;)V
.locals 7
sget-object v0, Lcom/discord/app/AppLog;->e:Lcom/discord/app/AppLog;
const-string v0, "it"
const-string v1, "Could not process next notice: "
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v1}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
sget-object v1, Lcom/discord/app/AppLog;->e:Lcom/discord/app/AppLog;
move-result-object v1
const-string v0, "Could not process next notice: "
invoke-static {v0}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v2, p0, Lcom/discord/stores/StoreNotices$init$3;->this$0:Lcom/discord/stores/StoreNotices;
@ -73,21 +79,23 @@
move-result-object v2
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
move-result-object v2
const/4 v3, 0x0
invoke-virtual {p1}, Lcom/discord/utilities/error/Error;->getThrowable()Ljava/lang/Throwable;
const/4 v4, 0x4
move-result-object v3
const/4 v5, 0x0
const/4 v4, 0x0
move-object v2, p1
const/4 v5, 0x4
invoke-static/range {v0 .. v5}, Lcom/discord/utilities/logging/Logger;->e$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/Throwable;Ljava/util/Map;ILjava/lang/Object;)V
const/4 v6, 0x0
invoke-static/range {v1 .. v6}, Lcom/discord/utilities/logging/Logger;->e$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/Throwable;Ljava/util/Map;ILjava/lang/Object;)V
return-void
.end method

View file

@ -445,7 +445,7 @@
.end method
.method public init(Landroid/content/Context;)V
.locals 4
.locals 10
const-string v0, "context"
@ -515,17 +515,29 @@
invoke-static {p1}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->computationLatest(Lrx/Observable;)Lrx/Observable;
move-result-object p1
move-result-object v1
new-instance v0, Lcom/discord/stores/StoreNotices$init$2;
const-class v2, Lcom/discord/stores/StoreNotices;
invoke-direct {v0, p0}, Lcom/discord/stores/StoreNotices$init$2;-><init>(Lcom/discord/stores/StoreNotices;)V
new-instance v7, Lcom/discord/stores/StoreNotices$init$2;
new-instance v1, Lcom/discord/stores/StoreNotices$init$3;
invoke-direct {v7, p0}, Lcom/discord/stores/StoreNotices$init$2;-><init>(Lcom/discord/stores/StoreNotices;)V
invoke-direct {v1, p0}, Lcom/discord/stores/StoreNotices$init$3;-><init>(Lcom/discord/stores/StoreNotices;)V
new-instance v5, Lcom/discord/stores/StoreNotices$init$3;
invoke-virtual {p1, v0, v1}, Lrx/Observable;->S(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
invoke-direct {v5, p0}, Lcom/discord/stores/StoreNotices$init$3;-><init>(Lcom/discord/stores/StoreNotices;)V
const/4 v3, 0x0
const/4 v4, 0x0
const/4 v6, 0x0
const/16 v8, 0x16
const/4 v9, 0x0
invoke-static/range {v1 .. v9}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
return-void
.end method

View file

@ -481,7 +481,7 @@
invoke-direct {v3, p0}, Lcom/discord/stores/StoreNotifications$tryTokenPersist$1;-><init>(Lcom/discord/stores/StoreNotifications;)V
invoke-virtual {v2, v1, v3, v1}, Lf/a/b/s;->k(Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;)Lrx/Observable$c;
invoke-virtual {v2, v1, v3, v1}, Lf/a/b/s;->j(Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;)Lrx/Observable$c;
move-result-object v1

View file

@ -8,7 +8,7 @@
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1$2;->call(Ljava/util/List;)V
value = Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1$2;->invoke(Ljava/util/List;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1$2;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "StorePaymentSources.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,15 +18,14 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/util/List<",
"+",
"Lcom/discord/models/domain/ModelPaymentSource;",
">;>;"
">;",
"Lkotlin/Unit;",
">;"
}
.end annotation
@ -41,24 +40,28 @@
iput-object p1, p0, Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1$2;->this$0:Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/util/List;
invoke-virtual {p0, p1}, Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1$2;->call(Ljava/util/List;)V
invoke-virtual {p0, p1}, Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1$2;->invoke(Ljava/util/List;)V
return-void
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final call(Ljava/util/List;)V
.method public final invoke(Ljava/util/List;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {

View file

@ -8,7 +8,7 @@
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1$3;->call(Ljava/lang/Throwable;)V
value = Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1$3;->invoke(Lcom/discord/utilities/error/Error;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1$3;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "StorePaymentSources.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,12 +18,10 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ljava/lang/Throwable;",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/utilities/error/Error;",
"Lkotlin/Unit;",
">;"
}
.end annotation
@ -39,26 +37,34 @@
iput-object p1, p0, Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1$3;->this$0:Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Throwable;
check-cast p1, Lcom/discord/utilities/error/Error;
invoke-virtual {p0, p1}, Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1$3;->call(Ljava/lang/Throwable;)V
invoke-virtual {p0, p1}, Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1$3;->invoke(Lcom/discord/utilities/error/Error;)V
return-void
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final call(Ljava/lang/Throwable;)V
.method public final invoke(Lcom/discord/utilities/error/Error;)V
.locals 1
const-string v0, "it"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p1, p0, Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1$3;->this$0:Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1;
iget-object p1, p1, Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1;->this$0:Lcom/discord/stores/StorePaymentSources;

View file

@ -56,7 +56,7 @@
.end method
.method public final invoke()V
.locals 4
.locals 11
iget-object v0, p0, Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1;->this$0:Lcom/discord/stores/StorePaymentSources;
@ -105,17 +105,37 @@
invoke-virtual {v0, v1}, Lrx/Observable;->D(Lh0/k/b;)Lrx/Observable;
move-result-object v0
move-result-object v2
new-instance v1, Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1$2;
const-string v0, "RestAPI\n .api\n \u2026efaultPaymentSource(it) }"
invoke-direct {v1, p0}, Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1$2;-><init>(Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1;)V
invoke-static {v2, v0}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v2, Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1$3;
iget-object v0, p0, Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1;->this$0:Lcom/discord/stores/StorePaymentSources;
invoke-direct {v2, p0}, Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1$3;-><init>(Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1;)V
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
invoke-virtual {v0, v1, v2}, Lrx/Observable;->S(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
move-result-object v3
const/4 v4, 0x0
const/4 v5, 0x0
new-instance v8, Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1$2;
invoke-direct {v8, p0}, Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1$2;-><init>(Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1;)V
const/4 v7, 0x0
new-instance v6, Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1$3;
invoke-direct {v6, p0}, Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1$3;-><init>(Lcom/discord/stores/StorePaymentSources$fetchPaymentSources$1;)V
const/16 v9, 0x16
const/4 v10, 0x0
invoke-static/range {v2 .. v10}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
return-void
.end method

View file

@ -237,9 +237,11 @@
move-result-object v0
sget-object v1, Lf/a/b/l0;->d:Lf/a/b/l0;
const-string v1, "it"
invoke-virtual {v0, v1}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
invoke-static {v0, v1}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v0}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui(Lrx/Observable;)Lrx/Observable;
move-result-object v0
@ -247,7 +249,7 @@
invoke-direct {v1, p0, p1, p2}, Lf/a/j/f;-><init>(Lcom/discord/stores/StorePinnedMessages;J)V
invoke-static {v1, p3}, Lf/a/b/s;->l(Lrx/functions/Action1;Landroid/content/Context;)Lrx/Observable$c;
invoke-static {v1, p3}, Lf/a/b/s;->k(Lrx/functions/Action1;Landroid/content/Context;)Lrx/Observable$c;
move-result-object p1

View file

@ -636,7 +636,7 @@
sget-object v3, Lcom/discord/stores/StoreReadStates$computeUnreadMarker$3;->INSTANCE:Lcom/discord/stores/StoreReadStates$computeUnreadMarker$3;
invoke-static {v1, v2, v3}, Lf/a/b/s;->q(Lkotlin/jvm/functions/Function1;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)Lrx/Observable$c;
invoke-static {v1, v2, v3}, Lf/a/b/s;->p(Lkotlin/jvm/functions/Function1;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)Lrx/Observable$c;
move-result-object v1

View file

@ -8,7 +8,7 @@
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreRtcConnection$init$1;->invoke(Ljava/lang/Boolean;)V
value = Lcom/discord/stores/StoreRtcConnection$init$1;->invoke(Z)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
@ -27,18 +27,18 @@
# instance fields
.field public final synthetic $isMuted:Ljava/lang/Boolean;
.field public final synthetic $isMuted:Z
.field public final synthetic this$0:Lcom/discord/stores/StoreRtcConnection$init$1;
# direct methods
.method public constructor <init>(Lcom/discord/stores/StoreRtcConnection$init$1;Ljava/lang/Boolean;)V
.method public constructor <init>(Lcom/discord/stores/StoreRtcConnection$init$1;Z)V
.locals 0
iput-object p1, p0, Lcom/discord/stores/StoreRtcConnection$init$1$1;->this$0:Lcom/discord/stores/StoreRtcConnection$init$1;
iput-object p2, p0, Lcom/discord/stores/StoreRtcConnection$init$1$1;->$isMuted:Ljava/lang/Boolean;
iput-boolean p2, p0, Lcom/discord/stores/StoreRtcConnection$init$1$1;->$isMuted:Z
const/4 p1, 0x0
@ -60,21 +60,13 @@
.end method
.method public final invoke()V
.locals 3
.locals 2
iget-object v0, p0, Lcom/discord/stores/StoreRtcConnection$init$1$1;->this$0:Lcom/discord/stores/StoreRtcConnection$init$1;
iget-object v0, v0, Lcom/discord/stores/StoreRtcConnection$init$1;->this$0:Lcom/discord/stores/StoreRtcConnection;
iget-object v1, p0, Lcom/discord/stores/StoreRtcConnection$init$1$1;->$isMuted:Ljava/lang/Boolean;
const-string v2, "isMuted"
invoke-static {v1, v2}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
move-result v1
iget-boolean v1, p0, Lcom/discord/stores/StoreRtcConnection$init$1$1;->$isMuted:Z
invoke-static {v0, v1}, Lcom/discord/stores/StoreRtcConnection;->access$handleSelfMuted(Lcom/discord/stores/StoreRtcConnection;Z)V

View file

@ -51,14 +51,18 @@
check-cast p1, Ljava/lang/Boolean;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreRtcConnection$init$1;->invoke(Ljava/lang/Boolean;)V
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
move-result p1
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreRtcConnection$init$1;->invoke(Z)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Ljava/lang/Boolean;)V
.method public final invoke(Z)V
.locals 2
iget-object v0, p0, Lcom/discord/stores/StoreRtcConnection$init$1;->this$0:Lcom/discord/stores/StoreRtcConnection;
@ -69,7 +73,7 @@
new-instance v1, Lcom/discord/stores/StoreRtcConnection$init$1$1;
invoke-direct {v1, p0, p1}, Lcom/discord/stores/StoreRtcConnection$init$1$1;-><init>(Lcom/discord/stores/StoreRtcConnection$init$1;Ljava/lang/Boolean;)V
invoke-direct {v1, p0, p1}, Lcom/discord/stores/StoreRtcConnection$init$1$1;-><init>(Lcom/discord/stores/StoreRtcConnection$init$1;Z)V
invoke-virtual {v0, v1}, Lcom/discord/stores/Dispatcher;->schedule(Lkotlin/jvm/functions/Function0;)V

View file

@ -8,7 +8,7 @@
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreRtcConnection$init$2;->invoke(Ljava/lang/Boolean;)V
value = Lcom/discord/stores/StoreRtcConnection$init$2;->invoke(Z)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
@ -27,18 +27,18 @@
# instance fields
.field public final synthetic $isDeafened:Ljava/lang/Boolean;
.field public final synthetic $isDeafened:Z
.field public final synthetic this$0:Lcom/discord/stores/StoreRtcConnection$init$2;
# direct methods
.method public constructor <init>(Lcom/discord/stores/StoreRtcConnection$init$2;Ljava/lang/Boolean;)V
.method public constructor <init>(Lcom/discord/stores/StoreRtcConnection$init$2;Z)V
.locals 0
iput-object p1, p0, Lcom/discord/stores/StoreRtcConnection$init$2$1;->this$0:Lcom/discord/stores/StoreRtcConnection$init$2;
iput-object p2, p0, Lcom/discord/stores/StoreRtcConnection$init$2$1;->$isDeafened:Ljava/lang/Boolean;
iput-boolean p2, p0, Lcom/discord/stores/StoreRtcConnection$init$2$1;->$isDeafened:Z
const/4 p1, 0x0
@ -60,21 +60,13 @@
.end method
.method public final invoke()V
.locals 3
.locals 2
iget-object v0, p0, Lcom/discord/stores/StoreRtcConnection$init$2$1;->this$0:Lcom/discord/stores/StoreRtcConnection$init$2;
iget-object v0, v0, Lcom/discord/stores/StoreRtcConnection$init$2;->this$0:Lcom/discord/stores/StoreRtcConnection;
iget-object v1, p0, Lcom/discord/stores/StoreRtcConnection$init$2$1;->$isDeafened:Ljava/lang/Boolean;
const-string v2, "isDeafened"
invoke-static {v1, v2}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
move-result v1
iget-boolean v1, p0, Lcom/discord/stores/StoreRtcConnection$init$2$1;->$isDeafened:Z
invoke-static {v0, v1}, Lcom/discord/stores/StoreRtcConnection;->access$handleSelfDeafened(Lcom/discord/stores/StoreRtcConnection;Z)V

View file

@ -51,14 +51,18 @@
check-cast p1, Ljava/lang/Boolean;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreRtcConnection$init$2;->invoke(Ljava/lang/Boolean;)V
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
move-result p1
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreRtcConnection$init$2;->invoke(Z)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Ljava/lang/Boolean;)V
.method public final invoke(Z)V
.locals 2
iget-object v0, p0, Lcom/discord/stores/StoreRtcConnection$init$2;->this$0:Lcom/discord/stores/StoreRtcConnection;
@ -69,7 +73,7 @@
new-instance v1, Lcom/discord/stores/StoreRtcConnection$init$2$1;
invoke-direct {v1, p0, p1}, Lcom/discord/stores/StoreRtcConnection$init$2$1;-><init>(Lcom/discord/stores/StoreRtcConnection$init$2;Ljava/lang/Boolean;)V
invoke-direct {v1, p0, p1}, Lcom/discord/stores/StoreRtcConnection$init$2$1;-><init>(Lcom/discord/stores/StoreRtcConnection$init$2;Z)V
invoke-virtual {v0, v1}, Lcom/discord/stores/Dispatcher;->schedule(Lkotlin/jvm/functions/Function0;)V

View file

@ -8,7 +8,7 @@
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreRtcConnection$init$5;->call(Ljava/util/Map;)V
value = Lcom/discord/stores/StoreRtcConnection$init$5;->invoke(Ljava/util/Map;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
@ -60,7 +60,7 @@
.end method
.method public final invoke()V
.locals 3
.locals 2
iget-object v0, p0, Lcom/discord/stores/StoreRtcConnection$init$5$1;->this$0:Lcom/discord/stores/StoreRtcConnection$init$5;
@ -68,10 +68,6 @@
iget-object v1, p0, Lcom/discord/stores/StoreRtcConnection$init$5$1;->$usersVolume:Ljava/util/Map;
const-string/jumbo v2, "usersVolume"
invoke-static {v1, v2}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v0, v1}, Lcom/discord/stores/StoreRtcConnection;->access$handleUsersVolume(Lcom/discord/stores/StoreRtcConnection;Ljava/util/Map;)V
return-void

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/stores/StoreRtcConnection$init$5;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "StoreRtcConnection.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,16 +18,15 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"+",
"Ljava/lang/Float;",
">;>;"
">;",
"Lkotlin/Unit;",
">;"
}
.end annotation
@ -42,24 +41,28 @@
iput-object p1, p0, Lcom/discord/stores/StoreRtcConnection$init$5;->this$0:Lcom/discord/stores/StoreRtcConnection;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/util/Map;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreRtcConnection$init$5;->call(Ljava/util/Map;)V
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreRtcConnection$init$5;->invoke(Ljava/util/Map;)V
return-void
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final call(Ljava/util/Map;)V
.method public final invoke(Ljava/util/Map;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
@ -71,6 +74,10 @@
}
.end annotation
const-string/jumbo v0, "usersVolume"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lcom/discord/stores/StoreRtcConnection$init$5;->this$0:Lcom/discord/stores/StoreRtcConnection;
invoke-static {v0}, Lcom/discord/stores/StoreRtcConnection;->access$getDispatcher$p(Lcom/discord/stores/StoreRtcConnection;)Lcom/discord/stores/Dispatcher;

View file

@ -1,4 +1,4 @@
.class public final Lcom/discord/stores/StoreRtcConnection$init$7$1;
.class public final Lcom/discord/stores/StoreRtcConnection$init$6$1;
.super Ly/n/c/k;
.source "StoreRtcConnection.kt"
@ -8,7 +8,7 @@
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreRtcConnection$init$7;->call(Ljava/util/Map;)V
value = Lcom/discord/stores/StoreRtcConnection$init$6;->invoke(Ljava/util/Map;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
@ -29,16 +29,16 @@
# instance fields
.field public final synthetic $usersMuted:Ljava/util/Map;
.field public final synthetic this$0:Lcom/discord/stores/StoreRtcConnection$init$7;
.field public final synthetic this$0:Lcom/discord/stores/StoreRtcConnection$init$6;
# direct methods
.method public constructor <init>(Lcom/discord/stores/StoreRtcConnection$init$7;Ljava/util/Map;)V
.method public constructor <init>(Lcom/discord/stores/StoreRtcConnection$init$6;Ljava/util/Map;)V
.locals 0
iput-object p1, p0, Lcom/discord/stores/StoreRtcConnection$init$7$1;->this$0:Lcom/discord/stores/StoreRtcConnection$init$7;
iput-object p1, p0, Lcom/discord/stores/StoreRtcConnection$init$6$1;->this$0:Lcom/discord/stores/StoreRtcConnection$init$6;
iput-object p2, p0, Lcom/discord/stores/StoreRtcConnection$init$7$1;->$usersMuted:Ljava/util/Map;
iput-object p2, p0, Lcom/discord/stores/StoreRtcConnection$init$6$1;->$usersMuted:Ljava/util/Map;
const/4 p1, 0x0
@ -52,7 +52,7 @@
.method public bridge synthetic invoke()Ljava/lang/Object;
.locals 1
invoke-virtual {p0}, Lcom/discord/stores/StoreRtcConnection$init$7$1;->invoke()V
invoke-virtual {p0}, Lcom/discord/stores/StoreRtcConnection$init$6$1;->invoke()V
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
@ -60,17 +60,13 @@
.end method
.method public final invoke()V
.locals 3
.locals 2
iget-object v0, p0, Lcom/discord/stores/StoreRtcConnection$init$7$1;->this$0:Lcom/discord/stores/StoreRtcConnection$init$7;
iget-object v0, p0, Lcom/discord/stores/StoreRtcConnection$init$6$1;->this$0:Lcom/discord/stores/StoreRtcConnection$init$6;
iget-object v0, v0, Lcom/discord/stores/StoreRtcConnection$init$7;->this$0:Lcom/discord/stores/StoreRtcConnection;
iget-object v0, v0, Lcom/discord/stores/StoreRtcConnection$init$6;->this$0:Lcom/discord/stores/StoreRtcConnection;
iget-object v1, p0, Lcom/discord/stores/StoreRtcConnection$init$7$1;->$usersMuted:Ljava/util/Map;
const-string/jumbo v2, "usersMuted"
invoke-static {v1, v2}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v1, p0, Lcom/discord/stores/StoreRtcConnection$init$6$1;->$usersMuted:Ljava/util/Map;
invoke-static {v0, v1}, Lcom/discord/stores/StoreRtcConnection;->access$handleUsersMuted(Lcom/discord/stores/StoreRtcConnection;Ljava/util/Map;)V

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/stores/StoreRtcConnection$init$6;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "StoreRtcConnection.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,70 +18,77 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ljava/lang/Throwable;",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"+",
"Ljava/lang/Boolean;",
">;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# static fields
.field public static final INSTANCE:Lcom/discord/stores/StoreRtcConnection$init$6;
# instance fields
.field public final synthetic this$0:Lcom/discord/stores/StoreRtcConnection;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/discord/stores/StoreRtcConnection$init$6;
invoke-direct {v0}, Lcom/discord/stores/StoreRtcConnection$init$6;-><init>()V
sput-object v0, Lcom/discord/stores/StoreRtcConnection$init$6;->INSTANCE:Lcom/discord/stores/StoreRtcConnection$init$6;
return-void
.end method
.method public constructor <init>()V
.method public constructor <init>(Lcom/discord/stores/StoreRtcConnection;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/discord/stores/StoreRtcConnection$init$6;->this$0:Lcom/discord/stores/StoreRtcConnection;
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Throwable;
check-cast p1, Ljava/util/Map;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreRtcConnection$init$6;->call(Ljava/lang/Throwable;)V
return-void
.end method
.method public final call(Ljava/lang/Throwable;)V
.locals 6
sget-object v0, Lcom/discord/app/AppLog;->e:Lcom/discord/app/AppLog;
const-string v1, "handleUsersVolume"
const/4 v3, 0x0
const/4 v4, 0x4
const/4 v5, 0x0
move-object v2, p1
invoke-static/range {v0 .. v5}, Lcom/discord/utilities/logging/Logger;->e$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/Throwable;Ljava/util/Map;ILjava/lang/Object;)V
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreRtcConnection$init$6;->invoke(Ljava/util/Map;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Ljava/util/Map;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/Boolean;",
">;)V"
}
.end annotation
const-string/jumbo v0, "usersMuted"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lcom/discord/stores/StoreRtcConnection$init$6;->this$0:Lcom/discord/stores/StoreRtcConnection;
invoke-static {v0}, Lcom/discord/stores/StoreRtcConnection;->access$getDispatcher$p(Lcom/discord/stores/StoreRtcConnection;)Lcom/discord/stores/Dispatcher;
move-result-object v0
new-instance v1, Lcom/discord/stores/StoreRtcConnection$init$6$1;
invoke-direct {v1, p0, p1}, Lcom/discord/stores/StoreRtcConnection$init$6$1;-><init>(Lcom/discord/stores/StoreRtcConnection$init$6;Ljava/util/Map;)V
invoke-virtual {v0, v1}, Lcom/discord/stores/Dispatcher;->schedule(Lkotlin/jvm/functions/Function0;)V
return-void
.end method

View file

@ -1,87 +0,0 @@
.class public final Lcom/discord/stores/StoreRtcConnection$init$7;
.super Ljava/lang/Object;
.source "StoreRtcConnection.kt"
# interfaces
.implements Lrx/functions/Action1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreRtcConnection;->init(Landroid/content/Context;Lcom/discord/utilities/networking/NetworkMonitor;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"+",
"Ljava/lang/Boolean;",
">;>;"
}
.end annotation
# instance fields
.field public final synthetic this$0:Lcom/discord/stores/StoreRtcConnection;
# direct methods
.method public constructor <init>(Lcom/discord/stores/StoreRtcConnection;)V
.locals 0
iput-object p1, p0, Lcom/discord/stores/StoreRtcConnection$init$7;->this$0:Lcom/discord/stores/StoreRtcConnection;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.locals 0
check-cast p1, Ljava/util/Map;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreRtcConnection$init$7;->call(Ljava/util/Map;)V
return-void
.end method
.method public final call(Ljava/util/Map;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/Boolean;",
">;)V"
}
.end annotation
iget-object v0, p0, Lcom/discord/stores/StoreRtcConnection$init$7;->this$0:Lcom/discord/stores/StoreRtcConnection;
invoke-static {v0}, Lcom/discord/stores/StoreRtcConnection;->access$getDispatcher$p(Lcom/discord/stores/StoreRtcConnection;)Lcom/discord/stores/Dispatcher;
move-result-object v0
new-instance v1, Lcom/discord/stores/StoreRtcConnection$init$7$1;
invoke-direct {v1, p0, p1}, Lcom/discord/stores/StoreRtcConnection$init$7$1;-><init>(Lcom/discord/stores/StoreRtcConnection$init$7;Ljava/util/Map;)V
invoke-virtual {v0, v1}, Lcom/discord/stores/Dispatcher;->schedule(Lkotlin/jvm/functions/Function0;)V
return-void
.end method

View file

@ -1,87 +0,0 @@
.class public final Lcom/discord/stores/StoreRtcConnection$init$8;
.super Ljava/lang/Object;
.source "StoreRtcConnection.kt"
# interfaces
.implements Lrx/functions/Action1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreRtcConnection;->init(Landroid/content/Context;Lcom/discord/utilities/networking/NetworkMonitor;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
# static fields
.field public static final INSTANCE:Lcom/discord/stores/StoreRtcConnection$init$8;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/discord/stores/StoreRtcConnection$init$8;
invoke-direct {v0}, Lcom/discord/stores/StoreRtcConnection$init$8;-><init>()V
sput-object v0, Lcom/discord/stores/StoreRtcConnection$init$8;->INSTANCE:Lcom/discord/stores/StoreRtcConnection$init$8;
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.locals 0
check-cast p1, Ljava/lang/Throwable;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreRtcConnection$init$8;->call(Ljava/lang/Throwable;)V
return-void
.end method
.method public final call(Ljava/lang/Throwable;)V
.locals 6
sget-object v0, Lcom/discord/app/AppLog;->e:Lcom/discord/app/AppLog;
const-string v1, "handleUsersMuted"
const/4 v3, 0x0
const/4 v4, 0x4
const/4 v5, 0x0
move-object v2, p1
invoke-static/range {v0 .. v5}, Lcom/discord/utilities/logging/Logger;->e$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/Throwable;Ljava/util/Map;ILjava/lang/Object;)V
return-void
.end method

View file

@ -450,10 +450,6 @@
move-result-object v1
const-string v3, "endpoint"
invoke-static {v2, v3}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v3, Lf/a/g/h;
invoke-direct {v3, v0, v2, v1, v4}, Lf/a/g/h;-><init>(Lcom/discord/rtcconnection/RtcConnection;Ljava/lang/String;Ljava/lang/String;Ljavax/net/ssl/SSLSocketFactory;)V
@ -1784,229 +1780,133 @@
.end method
.method public final init(Landroid/content/Context;Lcom/discord/utilities/networking/NetworkMonitor;)V
.locals 20
.locals 9
.annotation runtime Lcom/discord/stores/StoreThread;
.end annotation
move-object/from16 v0, p0
const-string v0, "context"
move-object/from16 v1, p1
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
move-object/from16 v2, p2
const-string v0, "networkMonitor"
const-string v3, "context"
invoke-static {p2, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v1, v3}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iput-object p1, p0, Lcom/discord/stores/StoreRtcConnection;->context:Landroid/content/Context;
const-string v3, "networkMonitor"
iput-object p2, p0, Lcom/discord/stores/StoreRtcConnection;->networkMonitor:Lcom/discord/utilities/networking/NetworkMonitor;
invoke-static {v2, v3}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
iput-object v1, v0, Lcom/discord/stores/StoreRtcConnection;->context:Landroid/content/Context;
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getMediaSettings()Lcom/discord/stores/StoreMediaSettings;
iput-object v2, v0, Lcom/discord/stores/StoreRtcConnection;->networkMonitor:Lcom/discord/utilities/networking/NetworkMonitor;
move-result-object p1
sget-object v1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {p1}, Lcom/discord/stores/StoreMediaSettings;->isSelfMuted()Lrx/Observable;
invoke-virtual {v1}, Lcom/discord/stores/StoreStream$Companion;->getMediaSettings()Lcom/discord/stores/StoreMediaSettings;
move-result-object v0
move-result-object v1
invoke-virtual {v1}, Lcom/discord/stores/StoreMediaSettings;->isSelfMuted()Lrx/Observable;
move-result-object v1
const-class v1, Lcom/discord/stores/StoreRtcConnection;
new-instance v6, Lcom/discord/stores/StoreRtcConnection$init$1;
invoke-direct {v6, v0}, Lcom/discord/stores/StoreRtcConnection$init$1;-><init>(Lcom/discord/stores/StoreRtcConnection;)V
invoke-direct {v6, p0}, Lcom/discord/stores/StoreRtcConnection$init$1;-><init>(Lcom/discord/stores/StoreRtcConnection;)V
const-class v4, Lcom/discord/stores/StoreRtcConnection;
const/4 v2, 0x0
const/16 v2, 0x3c
const/4 v3, 0x0
and-int/lit8 v2, v2, 0x4
const/4 v4, 0x0
const/16 v2, 0x3c
const/4 v5, 0x0
and-int/lit8 v2, v2, 0x8
const/16 v7, 0x1e
const/16 v2, 0x3c
const/4 v8, 0x0
and-int/lit8 v2, v2, 0x10
invoke-static/range {v0 .. v8}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
const/16 v2, 0x3c
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
and-int/lit8 v2, v2, 0x20
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getMediaSettings()Lcom/discord/stores/StoreMediaSettings;
const-string v9, "onNext"
move-result-object p1
invoke-static {v6, v9}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1}, Lcom/discord/stores/StoreMediaSettings;->isSelfDeafened()Lrx/Observable;
const-string v10, "errorClass"
move-result-object v0
invoke-static {v4, v10}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-class v1, Lcom/discord/stores/StoreRtcConnection;
new-instance v11, Lf/a/b/c0;
new-instance v6, Lcom/discord/stores/StoreRtcConnection$init$2;
const/16 v19, 0x0
invoke-direct {v6, p0}, Lcom/discord/stores/StoreRtcConnection$init$2;-><init>(Lcom/discord/stores/StoreRtcConnection;)V
move-object v2, v11
invoke-static/range {v0 .. v8}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
move-object/from16 v3, v19
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
move-object/from16 v5, v19
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getMediaEngine()Lcom/discord/stores/StoreMediaEngine;
move-object/from16 v7, v19
move-result-object p1
move-object/from16 v8, v19
invoke-virtual {p1}, Lcom/discord/stores/StoreMediaEngine;->getSelectedVideoInputDevice()Lrx/Observable;
invoke-direct/range {v2 .. v8}, Lf/a/b/c0;-><init>(Landroid/content/Context;Ljava/lang/Class;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;Lkotlin/jvm/functions/Function0;)V
move-result-object p1
invoke-virtual {v1, v11}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
sget-object p2, Lcom/discord/stores/StoreRtcConnection$init$3;->INSTANCE:Lcom/discord/stores/StoreRtcConnection$init$3;
sget-object v1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {p1, p2}, Lrx/Observable;->D(Lh0/k/b;)Lrx/Observable;
invoke-virtual {v1}, Lcom/discord/stores/StoreStream$Companion;->getMediaSettings()Lcom/discord/stores/StoreMediaSettings;
move-result-object v0
move-result-object v1
const-string p1, "StoreStream\n .get\u2026viceDescription != null }"
invoke-virtual {v1}, Lcom/discord/stores/StoreMediaSettings;->isSelfDeafened()Lrx/Observable;
invoke-static {v0, p1}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
move-result-object v1
const-class v1, Lcom/discord/stores/StoreRtcConnection;
new-instance v2, Lcom/discord/stores/StoreRtcConnection$init$2;
new-instance v6, Lcom/discord/stores/StoreRtcConnection$init$4;
invoke-direct {v2, v0}, Lcom/discord/stores/StoreRtcConnection$init$2;-><init>(Lcom/discord/stores/StoreRtcConnection;)V
invoke-direct {v6, p0}, Lcom/discord/stores/StoreRtcConnection$init$4;-><init>(Lcom/discord/stores/StoreRtcConnection;)V
const-class v14, Lcom/discord/stores/StoreRtcConnection;
invoke-static/range {v0 .. v8}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
const/16 v3, 0x3c
iget-object p1, p0, Lcom/discord/stores/StoreRtcConnection;->stream:Lcom/discord/stores/StoreStream;
and-int/lit8 v3, v3, 0x4
invoke-virtual {p1}, Lcom/discord/stores/StoreStream;->getMediaSettings$app_productionDiscordExternalRelease()Lcom/discord/stores/StoreMediaSettings;
const/16 v3, 0x3c
move-result-object p1
and-int/lit8 v3, v3, 0x8
invoke-virtual {p1}, Lcom/discord/stores/StoreMediaSettings;->getUsersVolume()Lrx/Observable;
const/16 v3, 0x3c
move-result-object v0
and-int/lit8 v3, v3, 0x10
const-class v1, Lcom/discord/stores/StoreRtcConnection;
const/16 v3, 0x3c
new-instance v6, Lcom/discord/stores/StoreRtcConnection$init$5;
and-int/lit8 v3, v3, 0x20
invoke-direct {v6, p0}, Lcom/discord/stores/StoreRtcConnection$init$5;-><init>(Lcom/discord/stores/StoreRtcConnection;)V
invoke-static {v2, v9}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static/range {v0 .. v8}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
invoke-static {v14, v10}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p1, p0, Lcom/discord/stores/StoreRtcConnection;->stream:Lcom/discord/stores/StoreStream;
new-instance v3, Lf/a/b/c0;
invoke-virtual {p1}, Lcom/discord/stores/StoreStream;->getMediaSettings$app_productionDiscordExternalRelease()Lcom/discord/stores/StoreMediaSettings;
move-object v12, v3
move-result-object p1
move-object/from16 v13, v19
invoke-virtual {p1}, Lcom/discord/stores/StoreMediaSettings;->getUsersMuted()Lrx/Observable;
move-object/from16 v15, v19
move-result-object v0
move-object/from16 v16, v2
const-class v1, Lcom/discord/stores/StoreRtcConnection;
move-object/from16 v17, v19
new-instance v6, Lcom/discord/stores/StoreRtcConnection$init$6;
move-object/from16 v18, v19
invoke-direct {v6, p0}, Lcom/discord/stores/StoreRtcConnection$init$6;-><init>(Lcom/discord/stores/StoreRtcConnection;)V
invoke-direct/range {v12 .. v18}, Lf/a/b/c0;-><init>(Landroid/content/Context;Ljava/lang/Class;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;Lkotlin/jvm/functions/Function0;)V
invoke-virtual {v1, v3}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
sget-object v1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {v1}, Lcom/discord/stores/StoreStream$Companion;->getMediaEngine()Lcom/discord/stores/StoreMediaEngine;
move-result-object v1
invoke-virtual {v1}, Lcom/discord/stores/StoreMediaEngine;->getSelectedVideoInputDevice()Lrx/Observable;
move-result-object v1
sget-object v2, Lcom/discord/stores/StoreRtcConnection$init$3;->INSTANCE:Lcom/discord/stores/StoreRtcConnection$init$3;
invoke-virtual {v1, v2}, Lrx/Observable;->D(Lh0/k/b;)Lrx/Observable;
move-result-object v1
new-instance v2, Lcom/discord/stores/StoreRtcConnection$init$4;
invoke-direct {v2, v0}, Lcom/discord/stores/StoreRtcConnection$init$4;-><init>(Lcom/discord/stores/StoreRtcConnection;)V
const-class v14, Lcom/discord/stores/StoreRtcConnection;
const/16 v3, 0x3c
and-int/lit8 v4, v3, 0x4
and-int/lit8 v4, v3, 0x8
and-int/lit8 v4, v3, 0x10
and-int/lit8 v3, v3, 0x20
invoke-static {v2, v9}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v14, v10}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v3, Lf/a/b/c0;
move-object v12, v3
move-object/from16 v13, v19
move-object/from16 v15, v19
move-object/from16 v16, v2
move-object/from16 v17, v19
move-object/from16 v18, v19
invoke-direct/range {v12 .. v18}, Lf/a/b/c0;-><init>(Landroid/content/Context;Ljava/lang/Class;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;Lkotlin/jvm/functions/Function0;)V
invoke-virtual {v1, v3}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
iget-object v1, v0, Lcom/discord/stores/StoreRtcConnection;->stream:Lcom/discord/stores/StoreStream;
invoke-virtual {v1}, Lcom/discord/stores/StoreStream;->getMediaSettings$app_productionDiscordExternalRelease()Lcom/discord/stores/StoreMediaSettings;
move-result-object v1
invoke-virtual {v1}, Lcom/discord/stores/StoreMediaSettings;->getUsersVolume()Lrx/Observable;
move-result-object v1
new-instance v2, Lcom/discord/stores/StoreRtcConnection$init$5;
invoke-direct {v2, v0}, Lcom/discord/stores/StoreRtcConnection$init$5;-><init>(Lcom/discord/stores/StoreRtcConnection;)V
sget-object v3, Lcom/discord/stores/StoreRtcConnection$init$6;->INSTANCE:Lcom/discord/stores/StoreRtcConnection$init$6;
invoke-virtual {v1, v2, v3}, Lrx/Observable;->S(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
iget-object v1, v0, Lcom/discord/stores/StoreRtcConnection;->stream:Lcom/discord/stores/StoreStream;
invoke-virtual {v1}, Lcom/discord/stores/StoreStream;->getMediaSettings$app_productionDiscordExternalRelease()Lcom/discord/stores/StoreMediaSettings;
move-result-object v1
invoke-virtual {v1}, Lcom/discord/stores/StoreMediaSettings;->getUsersMuted()Lrx/Observable;
move-result-object v1
new-instance v2, Lcom/discord/stores/StoreRtcConnection$init$7;
invoke-direct {v2, v0}, Lcom/discord/stores/StoreRtcConnection$init$7;-><init>(Lcom/discord/stores/StoreRtcConnection;)V
sget-object v3, Lcom/discord/stores/StoreRtcConnection$init$8;->INSTANCE:Lcom/discord/stores/StoreRtcConnection$init$8;
invoke-virtual {v1, v2, v3}, Lrx/Observable;->S(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
invoke-static/range {v0 .. v8}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
return-void
.end method

View file

@ -88,7 +88,7 @@
# direct methods
.method public constructor <init>()V
.locals 9
.locals 11
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
@ -168,47 +168,31 @@
invoke-virtual {v0, v1}, Lrx/Observable;->T(Lrx/Scheduler;)Lrx/Observable;
move-result-object v0
move-result-object v2
new-instance v5, Lcom/discord/stores/StoreSearchInput$2;
const-string v0, "astSubject\n .lead\u2026Schedulers.computation())"
invoke-direct {v5, p0}, Lcom/discord/stores/StoreSearchInput$2;-><init>(Lcom/discord/stores/StoreSearchInput;)V
invoke-static {v2, v0}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
const/16 v1, 0x3c
new-instance v6, Lcom/discord/stores/StoreSearchInput$2;
and-int/lit8 v2, v1, 0x4
invoke-direct {v6, p0}, Lcom/discord/stores/StoreSearchInput$2;-><init>(Lcom/discord/stores/StoreSearchInput;)V
and-int/lit8 v2, v1, 0x8
const/4 v3, 0x0
and-int/lit8 v2, v1, 0x10
const-string/jumbo v4, "validateSearchInput"
and-int/lit8 v1, v1, 0x20
const-string v1, "onNext"
invoke-static {v5, v1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string/jumbo v3, "validateSearchInput"
const-string v1, "errorTag"
invoke-static {v3, v1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v8, Lf/a/b/e0;
const/4 v5, 0x0
const/4 v7, 0x0
move-object v1, v8
const/4 v8, 0x0
move-object v2, v7
const/16 v9, 0x35
move-object v4, v7
const/4 v10, 0x0
move-object v6, v7
invoke-direct/range {v1 .. v7}, Lf/a/b/e0;-><init>(Landroid/content/Context;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;)V
invoke-virtual {v0, v8}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
invoke-static/range {v2 .. v10}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Landroid/content/Context;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V
return-void
.end method
@ -719,7 +703,7 @@
aput-object p2, p1, v0
invoke-static {p1}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
invoke-static {p1}, Lf/h/a/f/f/n/f;->listOf([Ljava/lang/Object;)Ljava/util/List;
move-result-object p1
@ -727,10 +711,6 @@
move-result p2
const-string v0, "replacement"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0, p2, p1, p3}, Lcom/discord/stores/StoreSearchInput;->replaceAndPublish(ILjava/util/List;Ljava/util/List;)V
return-void
@ -788,7 +768,7 @@
aput-object p2, p1, p3
invoke-static {p1}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
invoke-static {p1}, Lf/h/a/f/f/n/f;->listOf([Ljava/lang/Object;)Ljava/util/List;
move-result-object p1
@ -796,10 +776,6 @@
move-result p2
const-string p3, "replacement"
invoke-static {p1, p3}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0, p2, p1, p4}, Lcom/discord/stores/StoreSearchInput;->replaceAndPublish(ILjava/util/List;Ljava/util/List;)V
return-void
@ -856,7 +832,7 @@
aput-object p2, p1, v0
invoke-static {p1}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
invoke-static {p1}, Lf/h/a/f/f/n/f;->listOf([Ljava/lang/Object;)Ljava/util/List;
move-result-object p1
@ -864,10 +840,6 @@
move-result p2
const-string v0, "replacement"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0, p2, p1, p3}, Lcom/discord/stores/StoreSearchInput;->replaceAndPublish(ILjava/util/List;Ljava/util/List;)V
return-void
@ -928,7 +900,7 @@
aput-object p2, p1, v0
invoke-static {p1}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
invoke-static {p1}, Lf/h/a/f/f/n/f;->listOf([Ljava/lang/Object;)Ljava/util/List;
move-result-object p1
@ -936,10 +908,6 @@
move-result p2
const-string v0, "replacement"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0, p2, p1, p3}, Lcom/discord/stores/StoreSearchInput;->replaceAndPublish(ILjava/util/List;Ljava/util/List;)V
return-void

View file

@ -22,7 +22,7 @@
.method public constructor <init>(Lcom/discord/models/sticker/dto/ModelStickerPack;)V
.locals 1
const-string v0, "stickerPack"
const-string/jumbo v0, "stickerPack"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
@ -65,7 +65,7 @@
.method public final copy(Lcom/discord/models/sticker/dto/ModelStickerPack;)Lcom/discord/stores/StoreStickers$StickerPackState$Loaded;
.locals 1
const-string v0, "stickerPack"
const-string/jumbo v0, "stickerPack"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V

View file

@ -42,7 +42,7 @@
}
.end annotation
const-string v0, "stickerPackIds"
const-string/jumbo v0, "stickerPackIds"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
@ -134,7 +134,7 @@
}
.end annotation
const-string v0, "stickerPackIds"
const-string/jumbo v0, "stickerPackIds"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V

View file

@ -83,6 +83,10 @@
.end annotation
.end field
.field public stickersDirectoryFetchedTimestamp:J
.field public stickersDirectoryStoreListingsFetchedTimestamp:J
.field public stickersSnapshot:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
@ -94,8 +98,6 @@
.end annotation
.end field
.field public stickersStoreDirectoryFetchedTimestamp:J
.field public stickersStoreDirectoryLayout:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
@ -683,8 +685,14 @@
if-eqz p1, :cond_0
iget-wide v0, p0, Lcom/discord/stores/StoreStickers;->stickersStoreDirectoryFetchedTimestamp:J
iget-wide v0, p0, Lcom/discord/stores/StoreStickers;->stickersDirectoryStoreListingsFetchedTimestamp:J
goto :goto_0
:cond_0
iget-wide v0, p0, Lcom/discord/stores/StoreStickers;->stickersDirectoryFetchedTimestamp:J
:goto_0
const-wide/32 v2, 0x36ee80
add-long/2addr v0, v2
@ -697,11 +705,11 @@
cmp-long v4, v0, v2
if-lez v4, :cond_0
if-lez v4, :cond_1
return-void
:cond_0
:cond_1
iget-object v0, p0, Lcom/discord/stores/StoreStickers;->api:Lcom/discord/utilities/rest/RestAPI;
const-wide v1, 0xa86ab96a2c20028L
@ -921,7 +929,7 @@
}
.end annotation
const-string v0, "stickerPackIds"
const-string/jumbo v0, "stickerPackIds"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
@ -979,7 +987,7 @@
.annotation runtime Lcom/discord/stores/StoreThread;
.end annotation
const-string v0, "stickerStoreDirectory"
const-string/jumbo v0, "stickerStoreDirectory"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
@ -1099,6 +1107,14 @@
:cond_3
iput-object v0, p0, Lcom/discord/stores/StoreStickers;->stickersStoreDirectoryLayout:Ljava/util/List;
iget-object p1, p0, Lcom/discord/stores/StoreStickers;->clock:Lcom/discord/utilities/time/Clock;
invoke-interface {p1}, Lcom/discord/utilities/time/Clock;->currentTimeMillis()J
move-result-wide v0
iput-wide v0, p0, Lcom/discord/stores/StoreStickers;->stickersDirectoryFetchedTimestamp:J
if-eqz p2, :cond_4
iget-object p1, p0, Lcom/discord/stores/StoreStickers;->clock:Lcom/discord/utilities/time/Clock;
@ -1107,7 +1123,7 @@
move-result-wide p1
iput-wide p1, p0, Lcom/discord/stores/StoreStickers;->stickersStoreDirectoryFetchedTimestamp:J
iput-wide p1, p0, Lcom/discord/stores/StoreStickers;->stickersDirectoryStoreListingsFetchedTimestamp:J
:cond_4
invoke-virtual {p0}, Lcom/discord/stores/StoreV2;->markChanged()V
@ -1513,7 +1529,7 @@
.method public final onStickerUsed(Lcom/discord/models/sticker/dto/ModelSticker;)V
.locals 2
const-string v0, "sticker"
const-string/jumbo v0, "sticker"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V

View file

@ -654,9 +654,7 @@
new-instance v0, Lcom/discord/stores/StoreUserRelationships;
iget-object v1, v8, Lcom/discord/stores/StoreStream;->dispatcher:Lcom/discord/stores/Dispatcher;
invoke-direct {v0, v8, v1}, Lcom/discord/stores/StoreUserRelationships;-><init>(Lcom/discord/stores/StoreStream;Lcom/discord/stores/Dispatcher;)V
invoke-direct {v0}, Lcom/discord/stores/StoreUserRelationships;-><init>()V
iput-object v0, v8, Lcom/discord/stores/StoreStream;->userRelationships:Lcom/discord/stores/StoreUserRelationships;

View file

@ -888,10 +888,6 @@
move-result-object p1
const-string v3, "endpoint"
invoke-static {v2, v3}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v3, Lf/a/g/h;
invoke-direct {v3, v0, v2, p1, v1}, Lf/a/g/h;-><init>(Lcom/discord/rtcconnection/RtcConnection;Ljava/lang/String;Ljava/lang/String;Ljavax/net/ssl/SSLSocketFactory;)V

View file

@ -8,7 +8,7 @@
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$1;->call(Ljava/util/List;)V
value = Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$1;->invoke(Ljava/util/List;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
@ -60,7 +60,7 @@
.end method
.method public final invoke()V
.locals 3
.locals 2
iget-object v0, p0, Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$1$1;->this$0:Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$1;
@ -70,10 +70,6 @@
iget-object v1, p0, Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$1$1;->$subscriptions:Ljava/util/List;
const-string/jumbo v2, "subscriptions"
invoke-static {v1, v2}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v0, v1}, Lcom/discord/stores/StoreSubscriptions;->access$handleSubscriptionsFetchSuccess(Lcom/discord/stores/StoreSubscriptions;Ljava/util/List;)V
return-void

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$1;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "StoreSubscriptions.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,15 +18,14 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/util/List<",
"+",
"Lcom/discord/models/domain/ModelSubscription;",
">;>;"
">;",
"Lkotlin/Unit;",
">;"
}
.end annotation
@ -41,24 +40,28 @@
iput-object p1, p0, Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$1;->this$0:Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/util/List;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$1;->call(Ljava/util/List;)V
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$1;->invoke(Ljava/util/List;)V
return-void
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final call(Ljava/util/List;)V
.method public final invoke(Ljava/util/List;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
@ -69,6 +72,10 @@
}
.end annotation
const-string/jumbo v0, "subscriptions"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$1;->this$0:Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1;
iget-object v0, v0, Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1;->this$0:Lcom/discord/stores/StoreSubscriptions;

View file

@ -8,7 +8,7 @@
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$2;->call(Ljava/lang/Throwable;)V
value = Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$2;->invoke(Lcom/discord/utilities/error/Error;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$2;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "StoreSubscriptions.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,12 +18,10 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ljava/lang/Throwable;",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/utilities/error/Error;",
"Lkotlin/Unit;",
">;"
}
.end annotation
@ -39,26 +37,34 @@
iput-object p1, p0, Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$2;->this$0:Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Throwable;
check-cast p1, Lcom/discord/utilities/error/Error;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$2;->call(Ljava/lang/Throwable;)V
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$2;->invoke(Lcom/discord/utilities/error/Error;)V
return-void
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final call(Ljava/lang/Throwable;)V
.method public final invoke(Lcom/discord/utilities/error/Error;)V
.locals 1
const-string v0, "it"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p1, p0, Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$2;->this$0:Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1;
iget-object p1, p1, Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1;->this$0:Lcom/discord/stores/StoreSubscriptions;

View file

@ -56,7 +56,7 @@
.end method
.method public final invoke()V
.locals 4
.locals 13
iget-object v0, p0, Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1;->this$0:Lcom/discord/stores/StoreSubscriptions;
@ -93,17 +93,33 @@
invoke-static {v0, v1, v2, v3}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->restSubscribeOn$default(Lrx/Observable;ZILjava/lang/Object;)Lrx/Observable;
move-result-object v0
move-result-object v4
new-instance v1, Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$1;
iget-object v0, p0, Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1;->this$0:Lcom/discord/stores/StoreSubscriptions;
invoke-direct {v1, p0}, Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$1;-><init>(Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1;)V
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
new-instance v2, Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$2;
move-result-object v5
invoke-direct {v2, p0}, Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$2;-><init>(Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1;)V
const/4 v6, 0x0
invoke-virtual {v0, v1, v2}, Lrx/Observable;->S(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
const/4 v7, 0x0
new-instance v10, Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$1;
invoke-direct {v10, p0}, Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$1;-><init>(Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1;)V
const/4 v9, 0x0
new-instance v8, Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$2;
invoke-direct {v8, p0}, Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1$2;-><init>(Lcom/discord/stores/StoreSubscriptions$fetchSubscriptions$1;)V
const/16 v11, 0x16
const/4 v12, 0x0
invoke-static/range {v4 .. v12}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
return-void
.end method

View file

@ -458,19 +458,19 @@
move-result-object p1
const-string p2, "RestAPI\n .api\n \u2026 )\n }"
invoke-static {p1, p2}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
const/4 p2, 0x2
invoke-static {p4, v2, p2}, Lf/a/b/s;->s(Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;I)Lrx/Observable$c;
move-result-object p4
invoke-virtual {p1, p4}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
invoke-static {p1, p4, v2, p2, v2}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui$default(Lrx/Observable;Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;ILjava/lang/Object;)Lrx/Observable;
move-result-object p1
const-wide/16 v0, 0x0
invoke-static {p3, v0, v1, p2}, Lf/a/b/s;->u(Lcom/discord/utilities/dimmer/DimmerView;JI)Lrx/Observable$c;
invoke-static {p3, v0, v1, p2}, Lf/a/b/s;->s(Lcom/discord/utilities/dimmer/DimmerView;JI)Lrx/Observable$c;
move-result-object p2
@ -484,7 +484,7 @@
invoke-direct {p3, p5}, Lcom/discord/stores/StoreUserConnections$submitPinCode$2;-><init>(Landroid/app/Activity;)V
invoke-virtual {p2, p5, p3, p6}, Lf/a/b/s;->k(Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;)Lrx/Observable$c;
invoke-virtual {p2, p5, p3, p6}, Lf/a/b/s;->j(Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;)Lrx/Observable$c;
move-result-object p2

View file

@ -1043,7 +1043,7 @@
invoke-direct/range {v5 .. v14}, Lcom/discord/restapi/RestAPIParams$UserGuildSettings;-><init>(Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lcom/discord/models/domain/ModelMuteConfig;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/util/Map;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
const v6, 0x7f1215ef
const v6, 0x7f1215f8
move-object v1, p0
@ -1087,7 +1087,7 @@
invoke-direct/range {v3 .. v12}, Lcom/discord/restapi/RestAPIParams$UserGuildSettings;-><init>(Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lcom/discord/models/domain/ModelMuteConfig;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/util/Map;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
const v6, 0x7f1215ef
const v6, 0x7f1215f8
move-object v1, p0
@ -1143,7 +1143,7 @@
invoke-direct/range {v5 .. v14}, Lcom/discord/restapi/RestAPIParams$UserGuildSettings;-><init>(Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lcom/discord/models/domain/ModelMuteConfig;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/util/Map;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
const v6, 0x7f1215ef
const v6, 0x7f1215f8
move-object v1, p0

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/stores/StoreUserProfile$request$1;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "StoreUserProfile.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,12 +18,10 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/models/domain/ModelUserProfile;",
"Lkotlin/Unit;",
">;"
}
.end annotation
@ -43,14 +41,28 @@
iput-wide p2, p0, Lcom/discord/stores/StoreUserProfile$request$1;->$userId:J
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public final call(Lcom/discord/models/domain/ModelUserProfile;)V
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Lcom/discord/models/domain/ModelUserProfile;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreUserProfile$request$1;->invoke(Lcom/discord/models/domain/ModelUserProfile;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Lcom/discord/models/domain/ModelUserProfile;)V
.locals 3
if-eqz p1, :cond_0
@ -64,13 +76,3 @@
:cond_0
return-void
.end method
.method public bridge synthetic call(Ljava/lang/Object;)V
.locals 0
check-cast p1, Lcom/discord/models/domain/ModelUserProfile;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreUserProfile$request$1;->call(Lcom/discord/models/domain/ModelUserProfile;)V
return-void
.end method

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/stores/StoreUserProfile$request$2;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "StoreUserProfile.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,12 +18,10 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ljava/lang/Throwable;",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/utilities/error/Error;",
"Lkotlin/Unit;",
">;"
}
.end annotation
@ -43,26 +41,34 @@
iput-wide p2, p0, Lcom/discord/stores/StoreUserProfile$request$2;->$userId:J
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Throwable;
check-cast p1, Lcom/discord/utilities/error/Error;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreUserProfile$request$2;->call(Ljava/lang/Throwable;)V
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreUserProfile$request$2;->invoke(Lcom/discord/utilities/error/Error;)V
return-void
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final call(Ljava/lang/Throwable;)V
.method public final invoke(Lcom/discord/utilities/error/Error;)V
.locals 2
const-string v0, "it"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p1, p0, Lcom/discord/stores/StoreUserProfile$request$2;->this$0:Lcom/discord/stores/StoreUserProfile;
iget-wide v0, p0, Lcom/discord/stores/StoreUserProfile$request$2;->$userId:J

View file

@ -232,7 +232,7 @@
.end method
.method public final declared-synchronized request(J)V
.locals 4
.locals 11
monitor-enter p0
@ -299,17 +299,31 @@
invoke-static {v0}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui(Lrx/Observable;)Lrx/Observable;
move-result-object v0
move-result-object v2
new-instance v1, Lcom/discord/stores/StoreUserProfile$request$1;
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
invoke-direct {v1, p0, p1, p2}, Lcom/discord/stores/StoreUserProfile$request$1;-><init>(Lcom/discord/stores/StoreUserProfile;J)V
move-result-object v3
new-instance v2, Lcom/discord/stores/StoreUserProfile$request$2;
const/4 v4, 0x0
invoke-direct {v2, p0, p1, p2}, Lcom/discord/stores/StoreUserProfile$request$2;-><init>(Lcom/discord/stores/StoreUserProfile;J)V
const/4 v5, 0x0
invoke-virtual {v0, v1, v2}, Lrx/Observable;->S(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
new-instance v8, Lcom/discord/stores/StoreUserProfile$request$1;
invoke-direct {v8, p0, p1, p2}, Lcom/discord/stores/StoreUserProfile$request$1;-><init>(Lcom/discord/stores/StoreUserProfile;J)V
const/4 v7, 0x0
new-instance v6, Lcom/discord/stores/StoreUserProfile$request$2;
invoke-direct {v6, p0, p1, p2}, Lcom/discord/stores/StoreUserProfile$request$2;-><init>(Lcom/discord/stores/StoreUserProfile;J)V
const/16 v9, 0x16
const/4 v10, 0x0
invoke-static/range {v2 .. v10}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0

View file

@ -1,167 +0,0 @@
.class public final Lcom/discord/stores/StoreUserRelationships$observePendingCount$1;
.super Ljava/lang/Object;
.source "StoreUserRelationships.kt"
# interfaces
.implements Lh0/k/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreUserRelationships;->observePendingCount()Lrx/Observable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lh0/k/b<",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"+",
"Ljava/lang/Integer;",
">;",
"Ljava/lang/Integer;",
">;"
}
.end annotation
# static fields
.field public static final INSTANCE:Lcom/discord/stores/StoreUserRelationships$observePendingCount$1;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/discord/stores/StoreUserRelationships$observePendingCount$1;
invoke-direct {v0}, Lcom/discord/stores/StoreUserRelationships$observePendingCount$1;-><init>()V
sput-object v0, Lcom/discord/stores/StoreUserRelationships$observePendingCount$1;->INSTANCE:Lcom/discord/stores/StoreUserRelationships$observePendingCount$1;
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final call(Ljava/util/Map;)Ljava/lang/Integer;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/Integer;",
">;)",
"Ljava/lang/Integer;"
}
.end annotation
const-string v0, "relationships"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {p1}, Ljava/util/Map;->isEmpty()Z
move-result v0
const/4 v1, 0x0
if-eqz v0, :cond_0
goto :goto_2
:cond_0
invoke-interface {p1}, Ljava/util/Map;->entrySet()Ljava/util/Set;
move-result-object p1
invoke-interface {p1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object p1
const/4 v0, 0x0
:cond_1
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_3
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/util/Map$Entry;
invoke-interface {v2}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/Number;
invoke-virtual {v2}, Ljava/lang/Number;->intValue()I
move-result v2
const/4 v3, 0x3
if-ne v2, v3, :cond_2
const/4 v2, 0x1
goto :goto_1
:cond_2
const/4 v2, 0x0
:goto_1
if-eqz v2, :cond_1
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_3
move v1, v0
:goto_2
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/util/Map;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreUserRelationships$observePendingCount$1;->call(Ljava/util/Map;)Ljava/lang/Integer;
move-result-object p1
return-object p1
.end method

View file

@ -1,92 +0,0 @@
.class public final Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$1;
.super Ljava/lang/Object;
.source "StoreUserRelationships.kt"
# interfaces
.implements Lh0/k/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreUserRelationships;->requestAllRelationships()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lh0/k/b<",
"Ljava/lang/Throwable;",
"Ljava/util/List<",
"+",
"Lcom/discord/models/domain/ModelUserRelationship;",
">;>;"
}
.end annotation
# static fields
.field public static final INSTANCE:Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$1;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$1;
invoke-direct {v0}, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$1;-><init>()V
sput-object v0, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$1;->INSTANCE:Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$1;
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Throwable;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$1;->call(Ljava/lang/Throwable;)Ljava/util/List;
move-result-object p1
return-object p1
.end method
.method public final call(Ljava/lang/Throwable;)Ljava/util/List;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Throwable;",
")",
"Ljava/util/List<",
"Lcom/discord/models/domain/ModelUserRelationship;",
">;"
}
.end annotation
sget-object p1, Ly/i/l;->d:Ly/i/l;
return-object p1
.end method

View file

@ -1,102 +0,0 @@
.class public final Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2$1;
.super Ly/n/c/k;
.source "StoreUserRelationships.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function0;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2;->invoke(Ljava/util/List;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function0<",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field public final synthetic $allRelationships:Ljava/util/List;
.field public final synthetic this$0:Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2;
# direct methods
.method public constructor <init>(Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2;Ljava/util/List;)V
.locals 0
iput-object p1, p0, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2$1;->this$0:Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2;
iput-object p2, p0, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2$1;->$allRelationships:Ljava/util/List;
const/4 p1, 0x0
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic invoke()Ljava/lang/Object;
.locals 1
invoke-virtual {p0}, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2$1;->invoke()V
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object v0
.end method
.method public final invoke()V
.locals 3
iget-object v0, p0, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2$1;->$allRelationships:Ljava/util/List;
const-string v1, "allRelationships"
invoke-static {v0, v1}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v1, p0, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2$1;->this$0:Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2;
iget-object v1, v1, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2;->this$0:Lcom/discord/stores/StoreUserRelationships;
invoke-static {v1}, Lcom/discord/stores/StoreUserRelationships;->access$getStream$p(Lcom/discord/stores/StoreUserRelationships;)Lcom/discord/stores/StoreStream;
move-result-object v1
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_0
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Lcom/discord/models/domain/ModelUserRelationship;
invoke-virtual {v1, v2}, Lcom/discord/stores/StoreStream;->handleRelationshipAdd(Lcom/discord/models/domain/ModelUserRelationship;)V
goto :goto_0
:cond_0
return-void
.end method

View file

@ -1,89 +0,0 @@
.class public final Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2;
.super Ly/n/c/k;
.source "StoreUserRelationships.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreUserRelationships;->requestAllRelationships()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/util/List<",
"+",
"Lcom/discord/models/domain/ModelUserRelationship;",
">;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field public final synthetic this$0:Lcom/discord/stores/StoreUserRelationships;
# direct methods
.method public constructor <init>(Lcom/discord/stores/StoreUserRelationships;)V
.locals 0
iput-object p1, p0, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2;->this$0:Lcom/discord/stores/StoreUserRelationships;
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/util/List;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2;->invoke(Ljava/util/List;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Ljava/util/List;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"+",
"Lcom/discord/models/domain/ModelUserRelationship;",
">;)V"
}
.end annotation
iget-object v0, p0, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2;->this$0:Lcom/discord/stores/StoreUserRelationships;
invoke-static {v0}, Lcom/discord/stores/StoreUserRelationships;->access$getDispatcher$p(Lcom/discord/stores/StoreUserRelationships;)Lcom/discord/stores/Dispatcher;
move-result-object v0
new-instance v1, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2$1;
invoke-direct {v1, p0, p1}, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2$1;-><init>(Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2;Ljava/util/List;)V
invoke-virtual {v0, v1}, Lcom/discord/stores/Dispatcher;->schedule(Lkotlin/jvm/functions/Function0;)V
return-void
.end method

View file

@ -15,8 +15,6 @@
# instance fields
.field public final dispatcher:Lcom/discord/stores/Dispatcher;
.field public isDirty:Z
.field public final relationshipsCache:Lcom/discord/utilities/persister/Persister;
@ -33,8 +31,6 @@
.field public relationshipsState:Lcom/discord/stores/StoreUserRelationships$UserRelationshipsState;
.field public final stream:Lcom/discord/stores/StoreStream;
.field public final userRelationshipsSubject:Lrx/subjects/BehaviorSubject;
.annotation system Ldalvik/annotation/Signature;
value = {
@ -47,66 +43,38 @@
# direct methods
.method public constructor <init>(Lcom/discord/stores/StoreStream;Lcom/discord/stores/Dispatcher;)V
.locals 1
const-string/jumbo v0, "stream"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "dispatcher"
invoke-static {p2, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.method public constructor <init>()V
.locals 3
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/discord/stores/StoreUserRelationships;->stream:Lcom/discord/stores/StoreStream;
sget-object v0, Lcom/discord/stores/StoreUserRelationships$UserRelationshipsState$Unloaded;->INSTANCE:Lcom/discord/stores/StoreUserRelationships$UserRelationshipsState$Unloaded;
iput-object p2, p0, Lcom/discord/stores/StoreUserRelationships;->dispatcher:Lcom/discord/stores/Dispatcher;
iput-object v0, p0, Lcom/discord/stores/StoreUserRelationships;->relationshipsState:Lcom/discord/stores/StoreUserRelationships$UserRelationshipsState;
sget-object p1, Lcom/discord/stores/StoreUserRelationships$UserRelationshipsState$Unloaded;->INSTANCE:Lcom/discord/stores/StoreUserRelationships$UserRelationshipsState$Unloaded;
iput-object p1, p0, Lcom/discord/stores/StoreUserRelationships;->relationshipsState:Lcom/discord/stores/StoreUserRelationships$UserRelationshipsState;
new-instance p1, Lcom/discord/utilities/persister/Persister;
new-instance v0, Lcom/discord/utilities/persister/Persister;
invoke-static {}, Lcom/discord/stores/StoreUserRelationshipsKt;->access$getUNLOADED_RELATIONSHIPS_SENTINEL$p()Ljava/util/HashMap;
move-result-object p2
move-result-object v1
const-string v0, "STORE_USER_RELATIONSHIPS_V9"
const-string v2, "STORE_USER_RELATIONSHIPS_V9"
invoke-direct {p1, v0, p2}, Lcom/discord/utilities/persister/Persister;-><init>(Ljava/lang/String;Ljava/lang/Object;)V
invoke-direct {v0, v2, v1}, Lcom/discord/utilities/persister/Persister;-><init>(Ljava/lang/String;Ljava/lang/Object;)V
iput-object p1, p0, Lcom/discord/stores/StoreUserRelationships;->relationshipsCache:Lcom/discord/utilities/persister/Persister;
iput-object v0, p0, Lcom/discord/stores/StoreUserRelationships;->relationshipsCache:Lcom/discord/utilities/persister/Persister;
sget-object p1, Lcom/discord/stores/StoreUserRelationships$UserRelationshipsState$Unloaded;->INSTANCE:Lcom/discord/stores/StoreUserRelationships$UserRelationshipsState$Unloaded;
sget-object v0, Lcom/discord/stores/StoreUserRelationships$UserRelationshipsState$Unloaded;->INSTANCE:Lcom/discord/stores/StoreUserRelationships$UserRelationshipsState$Unloaded;
invoke-static {p1}, Lrx/subjects/BehaviorSubject;->h0(Ljava/lang/Object;)Lrx/subjects/BehaviorSubject;
invoke-static {v0}, Lrx/subjects/BehaviorSubject;->h0(Ljava/lang/Object;)Lrx/subjects/BehaviorSubject;
move-result-object p1
move-result-object v0
iput-object p1, p0, Lcom/discord/stores/StoreUserRelationships;->userRelationshipsSubject:Lrx/subjects/BehaviorSubject;
iput-object v0, p0, Lcom/discord/stores/StoreUserRelationships;->userRelationshipsSubject:Lrx/subjects/BehaviorSubject;
return-void
.end method
.method public static final synthetic access$getDispatcher$p(Lcom/discord/stores/StoreUserRelationships;)Lcom/discord/stores/Dispatcher;
.locals 0
iget-object p0, p0, Lcom/discord/stores/StoreUserRelationships;->dispatcher:Lcom/discord/stores/Dispatcher;
return-object p0
.end method
.method public static final synthetic access$getStream$p(Lcom/discord/stores/StoreUserRelationships;)Lcom/discord/stores/StoreStream;
.locals 0
iget-object p0, p0, Lcom/discord/stores/StoreUserRelationships;->stream:Lcom/discord/stores/StoreStream;
return-object p0
.end method
.method private final ensureRelationshipLoaded()Lcom/discord/stores/StoreUserRelationships$UserRelationshipsState$Loaded;
.locals 2
@ -627,38 +595,6 @@
return-object p1
.end method
.method public final observePendingCount()Lrx/Observable;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lrx/Observable<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
invoke-virtual {p0}, Lcom/discord/stores/StoreUserRelationships;->observe()Lrx/Observable;
move-result-object v0
sget-object v1, Lcom/discord/stores/StoreUserRelationships$observePendingCount$1;->INSTANCE:Lcom/discord/stores/StoreUserRelationships$observePendingCount$1;
invoke-virtual {v0, v1}, Lrx/Observable;->D(Lh0/k/b;)Lrx/Observable;
move-result-object v0
invoke-virtual {v0}, Lrx/Observable;->q()Lrx/Observable;
move-result-object v0
const-string v1, "observe()\n .map\u2026 .distinctUntilChanged()"
invoke-static {v0, v1}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
return-object v0
.end method
.method public final observeUserRelationshipsState()Lrx/Observable;
.locals 2
.annotation system Ldalvik/annotation/Signature;
@ -741,77 +677,3 @@
return-void
.end method
.method public final requestAllRelationships()V
.locals 9
sget-object v0, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
invoke-virtual {v0}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
move-result-object v0
invoke-virtual {v0}, Lcom/discord/utilities/rest/RestAPI;->getRelationships()Lrx/Observable;
move-result-object v0
const/4 v1, 0x0
const/4 v2, 0x1
invoke-static {v1, v2}, Lf/a/b/s;->f(ZI)Lrx/Observable$c;
move-result-object v1
invoke-virtual {v0, v1}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
move-result-object v0
sget-object v1, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$1;->INSTANCE:Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$1;
invoke-virtual {v0, v1}, Lrx/Observable;->J(Lh0/k/b;)Lrx/Observable;
move-result-object v0
new-instance v5, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2;
invoke-direct {v5, p0}, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2;-><init>(Lcom/discord/stores/StoreUserRelationships;)V
const/16 v1, 0x3c
and-int/lit8 v2, v1, 0x4
and-int/lit8 v2, v1, 0x8
and-int/lit8 v2, v1, 0x10
and-int/lit8 v1, v1, 0x20
const-string v1, "onNext"
invoke-static {v5, v1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v3, "requestAllRelationships"
const-string v1, "errorTag"
invoke-static {v3, v1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v8, Lf/a/b/e0;
const/4 v7, 0x0
move-object v1, v8
move-object v2, v7
move-object v4, v7
move-object v6, v7
invoke-direct/range {v1 .. v7}, Lf/a/b/e0;-><init>(Landroid/content/Context;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;)V
invoke-virtual {v0, v8}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
return-void
.end method

View file

@ -388,7 +388,7 @@
sget-object v2, Lf/a/j/l;->d:Lf/a/j/l;
invoke-static {v2, v0}, Lf/a/b/s;->l(Lrx/functions/Action1;Landroid/content/Context;)Lrx/Observable$c;
invoke-static {v2, v0}, Lf/a/b/s;->k(Lrx/functions/Action1;Landroid/content/Context;)Lrx/Observable$c;
move-result-object v0
@ -936,7 +936,7 @@
move-result-object p1
invoke-static {p0}, Lf/a/b/s;->r(Lcom/discord/app/AppComponent;)Lrx/Observable$c;
invoke-static {p0}, Lf/a/b/s;->q(Lcom/discord/app/AppComponent;)Lrx/Observable$c;
move-result-object v0
@ -948,7 +948,7 @@
invoke-direct {v0, p2, p0}, Lf/a/j/j;-><init>(Ljava/lang/Integer;Lcom/discord/app/AppActivity;)V
invoke-static {v0, p0}, Lf/a/b/s;->l(Lrx/functions/Action1;Landroid/content/Context;)Lrx/Observable$c;
invoke-static {v0, p0}, Lf/a/b/s;->k(Lrx/functions/Action1;Landroid/content/Context;)Lrx/Observable$c;
move-result-object p0
@ -1872,7 +1872,7 @@
move-result-object v0
const v1, 0x7f1217ac
const v1, 0x7f1217b5
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
@ -1987,7 +1987,7 @@
move-result-object p2
const v0, 0x7f120ec0
const v0, 0x7f120ec5
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
@ -2417,7 +2417,7 @@
move-result-object v0
const v1, 0x7f1217ac
const v1, 0x7f1217b5
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
@ -2448,7 +2448,7 @@
move-result-object v0
const v1, 0x7f1217ab
const v1, 0x7f1217b4
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

View file

@ -119,9 +119,9 @@
move-result-object p2
sget-object p3, Lf/a/b/v0/a;->b:Lf/a/b/v0/a;
sget-object p3, Lf/a/b/q0/a;->b:Lf/a/b/q0/a;
sget-object p3, Lf/a/b/v0/a;->a:Ljava/util/Set;
sget-object p3, Lf/a/b/q0/a;->a:Ljava/util/Set;
invoke-virtual {p2, p3}, Landroidx/core/content/pm/ShortcutInfoCompat$Builder;->setCategories(Ljava/util/Set;)Landroidx/core/content/pm/ShortcutInfoCompat$Builder;

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/utilities/StoreUIEventHandler$subscribeToStoreEvents$1;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "StoreUIEventHandler.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,12 +18,10 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/rtcconnection/KrispOveruseDetector$Status;",
"Lkotlin/Unit;",
">;"
}
.end annotation
@ -39,33 +37,37 @@
iput-object p1, p0, Lcom/discord/utilities/StoreUIEventHandler$subscribeToStoreEvents$1;->this$0:Lcom/discord/utilities/StoreUIEventHandler;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public final call(Lcom/discord/rtcconnection/KrispOveruseDetector$Status;)V
.locals 2
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Lcom/discord/rtcconnection/KrispOveruseDetector$Status;
invoke-virtual {p0, p1}, Lcom/discord/utilities/StoreUIEventHandler$subscribeToStoreEvents$1;->invoke(Lcom/discord/rtcconnection/KrispOveruseDetector$Status;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Lcom/discord/rtcconnection/KrispOveruseDetector$Status;)V
.locals 1
const-string v0, "it"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lcom/discord/utilities/StoreUIEventHandler$subscribeToStoreEvents$1;->this$0:Lcom/discord/utilities/StoreUIEventHandler;
const-string v1, "it"
invoke-static {p1, v1}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v0, p1}, Lcom/discord/utilities/StoreUIEventHandler;->access$handleKrispStatusEvent(Lcom/discord/utilities/StoreUIEventHandler;Lcom/discord/rtcconnection/KrispOveruseDetector$Status;)V
return-void
.end method
.method public bridge synthetic call(Ljava/lang/Object;)V
.locals 0
check-cast p1, Lcom/discord/rtcconnection/KrispOveruseDetector$Status;
invoke-virtual {p0, p1}, Lcom/discord/utilities/StoreUIEventHandler$subscribeToStoreEvents$1;->call(Lcom/discord/rtcconnection/KrispOveruseDetector$Status;)V
return-void
.end method

View file

@ -59,7 +59,7 @@
if-ne p1, v0, :cond_0
const p1, 0x7f121018
const p1, 0x7f12101d
goto :goto_0
@ -71,12 +71,12 @@
throw p1
:cond_1
const p1, 0x7f12101d
const p1, 0x7f121022
goto :goto_0
:cond_2
const p1, 0x7f12101c
const p1, 0x7f121021
:goto_0
iget-object v0, p0, Lcom/discord/utilities/StoreUIEventHandler;->context:Landroid/content/Context;
@ -93,7 +93,7 @@
.end method
.method private final subscribeToStoreEvents()V
.locals 2
.locals 10
iget-object v0, p0, Lcom/discord/utilities/StoreUIEventHandler;->mediaEngineStore:Lcom/discord/stores/StoreMediaEngine;
@ -101,19 +101,29 @@
move-result-object v0
invoke-static {}, Lh0/j/b/a;->a()Lrx/Scheduler;
invoke-static {v0}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui(Lrx/Observable;)Lrx/Observable;
move-result-object v1
invoke-virtual {v0, v1}, Lrx/Observable;->G(Lrx/Scheduler;)Lrx/Observable;
const-class v2, Lcom/discord/utilities/StoreUIEventHandler;
move-result-object v0
new-instance v7, Lcom/discord/utilities/StoreUIEventHandler$subscribeToStoreEvents$1;
new-instance v1, Lcom/discord/utilities/StoreUIEventHandler$subscribeToStoreEvents$1;
invoke-direct {v7, p0}, Lcom/discord/utilities/StoreUIEventHandler$subscribeToStoreEvents$1;-><init>(Lcom/discord/utilities/StoreUIEventHandler;)V
invoke-direct {v1, p0}, Lcom/discord/utilities/StoreUIEventHandler$subscribeToStoreEvents$1;-><init>(Lcom/discord/utilities/StoreUIEventHandler;)V
const/4 v3, 0x0
invoke-virtual {v0, v1}, Lrx/Observable;->R(Lrx/functions/Action1;)Lrx/Subscription;
const/4 v4, 0x0
const/4 v5, 0x0
const/4 v6, 0x0
const/16 v8, 0x1e
const/4 v9, 0x0
invoke-static/range {v1 .. v9}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
return-void
.end method

View file

@ -173,7 +173,7 @@
const-string v3, "browser_user_agent"
const-string v4, "Discord-Android/1315"
const-string v4, "Discord-Android/1318"
invoke-direct {v2, v3, v4}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
@ -181,7 +181,7 @@
const/4 v1, 0x2
const/16 v2, 0x523
const/16 v2, 0x526
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
@ -201,7 +201,7 @@
const-string v3, "client_version"
const-string v4, "49.1"
const-string v4, "49.2"
invoke-direct {v2, v3, v4}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V

View file

@ -164,7 +164,7 @@
.end method
.method public static final addAttachment(Ljava/lang/String;Ljava/lang/String;I)V
.locals 7
.locals 9
const-string v0, "source"
@ -224,49 +224,29 @@
invoke-static {p0}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->computationBuffered(Lrx/Observable;)Lrx/Observable;
move-result-object p0
move-result-object v0
sget-object v4, Lcom/discord/utilities/analytics/AnalyticsTracker$addAttachment$2;->INSTANCE:Lcom/discord/utilities/analytics/AnalyticsTracker$addAttachment$2;
sget-object p0, Lcom/discord/utilities/analytics/AnalyticsTracker;->INSTANCE:Lcom/discord/utilities/analytics/AnalyticsTracker;
sget-object p1, Lcom/discord/utilities/analytics/AnalyticsTracker;->INSTANCE:Lcom/discord/utilities/analytics/AnalyticsTracker;
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
move-result-object v2
sget-object v6, Lcom/discord/utilities/analytics/AnalyticsTracker$addAttachment$2;->INSTANCE:Lcom/discord/utilities/analytics/AnalyticsTracker$addAttachment$2;
const/16 p1, 0x3c
const/4 v2, 0x0
and-int/lit8 p2, p1, 0x4
const/4 v3, 0x0
and-int/lit8 p2, p1, 0x8
const/4 v4, 0x0
and-int/lit8 p2, p1, 0x10
const/4 v5, 0x0
and-int/lit8 p1, p1, 0x20
const/16 v7, 0x1e
const-string p1, "onNext"
const/4 v8, 0x0
invoke-static {v4, p1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string p1, "errorClass"
invoke-static {v2, p1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance p1, Lf/a/b/c0;
const/4 v6, 0x0
move-object v0, p1
move-object v1, v6
move-object v3, v6
move-object v5, v6
invoke-direct/range {v0 .. v6}, Lf/a/b/c0;-><init>(Landroid/content/Context;Ljava/lang/Class;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;Lkotlin/jvm/functions/Function0;)V
invoke-virtual {p0, p1}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
invoke-static/range {v0 .. v8}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
return-void
.end method
@ -3209,7 +3189,7 @@
.end method
.method private final withGameProperties(JLkotlin/jvm/functions/Function1;)V
.locals 7
.locals 9
.annotation system Ldalvik/annotation/Signature;
value = {
"(J",
@ -3226,49 +3206,25 @@
invoke-direct {p0, p1, p2}, Lcom/discord/utilities/analytics/AnalyticsTracker;->getGameProperties(J)Lrx/Observable;
move-result-object p1
move-result-object v0
sget-object p2, Lcom/discord/utilities/analytics/AnalyticsTracker;->INSTANCE:Lcom/discord/utilities/analytics/AnalyticsTracker;
const-class v1, Lcom/discord/utilities/analytics/AnalyticsTracker;
invoke-virtual {p2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
const/4 v2, 0x0
move-result-object v2
const/4 v3, 0x0
const/16 p2, 0x3c
const/4 v4, 0x0
and-int/lit8 v0, p2, 0x4
const/4 v5, 0x0
and-int/lit8 v0, p2, 0x8
const/16 v7, 0x1e
and-int/lit8 v0, p2, 0x10
const/4 v8, 0x0
and-int/lit8 p2, p2, 0x20
move-object v6, p3
const-string p2, "onNext"
invoke-static {p3, p2}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string p2, "errorClass"
invoke-static {v2, p2}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance p2, Lf/a/b/c0;
const/4 v6, 0x0
move-object v0, p2
move-object v1, v6
move-object v3, v6
move-object v4, p3
move-object v5, v6
invoke-direct/range {v0 .. v6}, Lf/a/b/c0;-><init>(Landroid/content/Context;Ljava/lang/Class;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;Lkotlin/jvm/functions/Function0;)V
invoke-virtual {p1, p2}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
invoke-static/range {v0 .. v8}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
return-void
.end method
@ -5437,7 +5393,7 @@
.end method
.method public final inviteSuggestionOpened(JLjava/util/List;Ljava/util/List;)V
.locals 8
.locals 10
.annotation system Ldalvik/annotation/Signature;
value = {
"(J",
@ -5634,47 +5590,27 @@
invoke-static {v0}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->computationLatest(Lrx/Observable;)Lrx/Observable;
move-result-object v0
move-result-object v1
new-instance v5, Lcom/discord/utilities/analytics/AnalyticsTracker$inviteSuggestionOpened$2;
const-class v2, Lcom/discord/utilities/analytics/AnalyticsTracker;
invoke-direct {v5, p3, p4, p1, p2}, Lcom/discord/utilities/analytics/AnalyticsTracker$inviteSuggestionOpened$2;-><init>(Ljava/util/List;Ljava/util/List;J)V
const/4 v3, 0x0
const-class v3, Lcom/discord/utilities/analytics/AnalyticsTracker;
const/4 v4, 0x0
const/16 p1, 0x3c
const/4 v5, 0x0
and-int/lit8 p2, p1, 0x4
const/4 v6, 0x0
and-int/lit8 p2, p1, 0x8
new-instance v7, Lcom/discord/utilities/analytics/AnalyticsTracker$inviteSuggestionOpened$2;
and-int/lit8 p2, p1, 0x10
invoke-direct {v7, p3, p4, p1, p2}, Lcom/discord/utilities/analytics/AnalyticsTracker$inviteSuggestionOpened$2;-><init>(Ljava/util/List;Ljava/util/List;J)V
and-int/lit8 p1, p1, 0x20
const/16 v8, 0x1e
const-string p1, "onNext"
const/4 v9, 0x0
invoke-static {v5, p1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string p1, "errorClass"
invoke-static {v3, p1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance p1, Lf/a/b/c0;
const/4 v7, 0x0
move-object v1, p1
move-object v2, v7
move-object v4, v7
move-object v6, v7
invoke-direct/range {v1 .. v7}, Lf/a/b/c0;-><init>(Landroid/content/Context;Ljava/lang/Class;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;Lkotlin/jvm/functions/Function0;)V
invoke-virtual {v0, p1}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
invoke-static/range {v1 .. v9}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
return-void
.end method
@ -7570,7 +7506,7 @@
const/4 v2, 0x0
const-string v3, "sticker"
const-string/jumbo v3, "sticker"
const/4 v4, 0x2
@ -7586,7 +7522,7 @@
.method public final stickerPackViewAllViewed(Lcom/discord/models/sticker/dto/ModelSticker;)V
.locals 3
const-string v0, "sticker"
const-string/jumbo v0, "sticker"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker$drainEventsQueue$1;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "AnalyticsUtils.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,12 +18,10 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Void;",
"Lkotlin/Unit;",
">;"
}
.end annotation
@ -47,26 +45,30 @@
.end method
.method public constructor <init>()V
.locals 0
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x1
invoke-direct {p0, v0}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Void;
invoke-virtual {p0, p1}, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker$drainEventsQueue$1;->call(Ljava/lang/Void;)V
invoke-virtual {p0, p1}, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker$drainEventsQueue$1;->invoke(Ljava/lang/Void;)V
return-void
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final call(Ljava/lang/Void;)V
.method public final invoke(Ljava/lang/Void;)V
.locals 0
return-void

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker$drainEventsQueue$2;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "AnalyticsUtils.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,12 +18,10 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ljava/lang/Throwable;",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/utilities/error/Error;",
"Lkotlin/Unit;",
">;"
}
.end annotation
@ -43,26 +41,34 @@
iput-object p2, p0, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker$drainEventsQueue$2;->$copy:Ljava/util/ArrayList;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Throwable;
check-cast p1, Lcom/discord/utilities/error/Error;
invoke-virtual {p0, p1}, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker$drainEventsQueue$2;->call(Ljava/lang/Throwable;)V
invoke-virtual {p0, p1}, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker$drainEventsQueue$2;->invoke(Lcom/discord/utilities/error/Error;)V
return-void
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final call(Ljava/lang/Throwable;)V
.method public final invoke(Lcom/discord/utilities/error/Error;)V
.locals 4
const-string v0, "error"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker$drainEventsQueue$2;->$copy:Ljava/util/ArrayList;
new-instance v1, Ljava/util/ArrayList;
@ -117,6 +123,10 @@
move-result-object v1
invoke-virtual {p1}, Lcom/discord/utilities/error/Error;->getThrowable()Ljava/lang/Throwable;
move-result-object p1
invoke-virtual {v0, v1, p1}, Lcom/discord/app/AppLog;->w(Ljava/lang/String;Ljava/lang/Throwable;)V
iget-object p1, p0, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker$drainEventsQueue$2;->this$0:Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;

View file

@ -1,9 +1,9 @@
.class public final Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker$track$1;
.super Ljava/lang/Object;
.super Ly/n/c/k;
.source "AnalyticsUtils.kt"
# interfaces
.implements Lrx/functions/Action1;
.implements Lkotlin/jvm/functions/Function1;
# annotations
@ -18,12 +18,10 @@
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Long;",
"Lkotlin/Unit;",
">;"
}
.end annotation
@ -39,14 +37,28 @@
iput-object p1, p0, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker$track$1;->this$0:Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public final call(Ljava/lang/Long;)V
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Long;
invoke-virtual {p0, p1}, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker$track$1;->invoke(Ljava/lang/Long;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Ljava/lang/Long;)V
.locals 0
iget-object p1, p0, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker$track$1;->this$0:Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;
@ -55,13 +67,3 @@
return-void
.end method
.method public bridge synthetic call(Ljava/lang/Object;)V
.locals 0
check-cast p1, Ljava/lang/Long;
invoke-virtual {p0, p1}, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker$track$1;->call(Ljava/lang/Long;)V
return-void
.end method

Some files were not shown because too many files have changed in this diff Show more