Changes of com.discord v1181

This commit is contained in:
root 2020-07-08 16:44:49 +00:00
parent f52990c3c2
commit 5a8adcbf82
29917 changed files with 1840412 additions and 1765629 deletions

View file

@ -1,241 +1,119 @@
.class public abstract Lf/a/b/b0;
.super Landroidx/lifecycle/ViewModel;
.source "AppViewModel.kt"
.class public final Lf/a/b/b0;
.super Ljava/lang/Object;
.source "AppTransformers.kt"
# interfaces
.implements Lcom/discord/app/AppComponent;
.implements Lrx/Observable$c;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<V:",
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Landroidx/lifecycle/ViewModel;",
"Lcom/discord/app/AppComponent;"
"Ljava/lang/Object;",
"Lrx/Observable$c<",
"TT;TT;>;"
}
.end annotation
# instance fields
.field public final paused:Lrx/subjects/Subject;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/subjects/Subject<",
"Ljava/lang/Void;",
"Ljava/lang/Void;",
">;"
}
.end annotation
.end field
.field public final synthetic d:Landroid/content/Context;
.field public final viewStateSubject:Lrx/subjects/BehaviorSubject;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/subjects/BehaviorSubject<",
"TV;>;"
}
.end annotation
.end field
.field public final synthetic e:Ljava/lang/Class;
.field public final synthetic f:Lkotlin/jvm/functions/Function1;
.field public final synthetic g:Lkotlin/jvm/functions/Function1;
.field public final synthetic h:Lrx/functions/Action1;
.field public final synthetic i:Lkotlin/jvm/functions/Function0;
# direct methods
.method public constructor <init>()V
.locals 2
const/4 v0, 0x0
const/4 v1, 0x1
invoke-direct {p0, v0, v1, v0}, Lf/a/b/b0;-><init>(Ljava/lang/Object;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-void
.end method
.method public constructor <init>(Ljava/lang/Object;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(TV;)V"
}
.end annotation
invoke-direct {p0}, Landroidx/lifecycle/ViewModel;-><init>()V
invoke-static {}, Lrx/subjects/BehaviorSubject;->p()Lrx/subjects/BehaviorSubject;
move-result-object v0
iput-object v0, p0, Lf/a/b/b0;->viewStateSubject:Lrx/subjects/BehaviorSubject;
invoke-static {}, Lrx/subjects/PublishSubject;->o()Lrx/subjects/PublishSubject;
move-result-object v0
const-string v1, "PublishSubject.create()"
invoke-static {v0, v1}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iput-object v0, p0, Lf/a/b/b0;->paused:Lrx/subjects/Subject;
if-eqz p1, :cond_0
iget-object v0, p0, Lf/a/b/b0;->viewStateSubject:Lrx/subjects/BehaviorSubject;
invoke-virtual {v0, p1}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
:cond_0
return-void
.end method
.method public synthetic constructor <init>(Ljava/lang/Object;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
.method public constructor <init>(Landroid/content/Context;Ljava/lang/Class;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;Lkotlin/jvm/functions/Function0;)V
.locals 0
and-int/lit8 p2, p2, 0x1
iput-object p1, p0, Lf/a/b/b0;->d:Landroid/content/Context;
if-eqz p2, :cond_0
iput-object p2, p0, Lf/a/b/b0;->e:Ljava/lang/Class;
const/4 p1, 0x0
iput-object p3, p0, Lf/a/b/b0;->f:Lkotlin/jvm/functions/Function1;
:cond_0
invoke-direct {p0, p1}, Lf/a/b/b0;-><init>(Ljava/lang/Object;)V
iput-object p4, p0, Lf/a/b/b0;->g:Lkotlin/jvm/functions/Function1;
iput-object p5, p0, Lf/a/b/b0;->h:Lrx/functions/Action1;
iput-object p6, p0, Lf/a/b/b0;->i:Lkotlin/jvm/functions/Function0;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public getPaused()Lrx/subjects/Subject;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lrx/subjects/Subject<",
"Ljava/lang/Void;",
"Ljava/lang/Void;",
">;"
}
.end annotation
.method public call(Ljava/lang/Object;)Ljava/lang/Object;
.locals 8
iget-object v0, p0, Lf/a/b/b0;->paused:Lrx/subjects/Subject;
move-object v0, p1
return-object v0
.end method
check-cast v0, Lrx/Observable;
.method public final getViewState()Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()TV;"
}
.end annotation
const-string p1, "observable"
iget-object v0, p0, Lf/a/b/b0;->viewStateSubject:Lrx/subjects/BehaviorSubject;
invoke-static {v0, p1}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v1, "viewStateSubject"
iget-object v1, p0, Lf/a/b/b0;->d:Landroid/content/Context;
invoke-static {v0, v1}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p1, p0, Lf/a/b/b0;->e:Ljava/lang/Class;
invoke-virtual {v0}, Lrx/subjects/BehaviorSubject;->o()Ljava/lang/Object;
invoke-virtual {p1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v0
move-result-object v2
return-object v0
.end method
const-string p1, "errorClass.simpleName"
.method public modifyPendingViewState(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TV;TV;)TV;"
}
.end annotation
invoke-static {v2, p1}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p2
.end method
iget-object v3, p0, Lf/a/b/b0;->f:Lkotlin/jvm/functions/Function1;
.method public final observeViewState()Lrx/Observable;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lrx/Observable<",
"TV;>;"
}
.end annotation
iget-object v4, p0, Lf/a/b/b0;->g:Lkotlin/jvm/functions/Function1;
iget-object v0, p0, Lf/a/b/b0;->viewStateSubject:Lrx/subjects/BehaviorSubject;
iget-object p1, p0, Lf/a/b/b0;->h:Lrx/functions/Action1;
const-string v1, "viewStateSubject"
const/4 v7, 0x0
invoke-static {v0, v1}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
if-eqz p1, :cond_0
return-object v0
.end method
new-instance v5, Lf/a/b/o0;
.method public onCleared()V
.locals 2
invoke-direct {v5, p1}, Lf/a/b/o0;-><init>(Lrx/functions/Action1;)V
invoke-super {p0}, Landroidx/lifecycle/ViewModel;->onCleared()V
invoke-virtual {p0}, Lf/a/b/b0;->getPaused()Lrx/subjects/Subject;
move-result-object v0
const/4 v1, 0x0
invoke-interface {v0, v1}, Lg0/g;->onNext(Ljava/lang/Object;)V
return-void
.end method
.method public final requireViewState()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()TV;"
}
.end annotation
invoke-virtual {p0}, Lf/a/b/b0;->getViewState()Ljava/lang/Object;
move-result-object v0
if-eqz v0, :cond_0
return-object v0
goto :goto_0
:cond_0
invoke-static {}, Ly/v/b/j;->throwNpe()V
move-object v5, v7
const/4 v0, 0x0
:goto_0
iget-object p1, p0, Lf/a/b/b0;->i:Lkotlin/jvm/functions/Function0;
throw v0
.end method
.method public updateViewState(Ljava/lang/Object;)V
.locals 1
.annotation build Landroidx/annotation/MainThread;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TV;)V"
}
.end annotation
invoke-virtual {p0}, Lf/a/b/b0;->getViewState()Ljava/lang/Object;
move-result-object v0
invoke-virtual {p0, v0, p1}, Lf/a/b/b0;->modifyPendingViewState(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
iget-object v0, p0, Lf/a/b/b0;->viewStateSubject:Lrx/subjects/BehaviorSubject;
invoke-virtual {v0, p1}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
return-void
if-eqz p1, :cond_1
goto :goto_1
:cond_1
sget-object p1, Lf/a/b/a0;->d:Lf/a/b/a0;
:goto_1
move-object v6, p1
invoke-static/range {v0 .. v6}, 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
return-object v7
.end method