Changes of com.discord v1251

This commit is contained in:
root 2020-09-02 04:07:20 +00:00
parent cef9fa9a2e
commit 4b481ae41b
9600 changed files with 408618 additions and 461559 deletions

View file

@ -1,241 +1,81 @@
.class public abstract Lf/a/b/o0;
.super Landroidx/lifecycle/ViewModel;
.source "AppViewModel.kt"
.class public final Lf/a/b/o0;
.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:Lcom/discord/utilities/dimmer/DimmerView;
.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:J
# 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/o0;-><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;->g0()Lrx/subjects/BehaviorSubject;
move-result-object v0
iput-object v0, p0, Lf/a/b/o0;->viewStateSubject:Lrx/subjects/BehaviorSubject;
invoke-static {}, Lrx/subjects/PublishSubject;->g0()Lrx/subjects/PublishSubject;
move-result-object v0
const-string v1, "PublishSubject.create()"
invoke-static {v0, v1}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iput-object v0, p0, Lf/a/b/o0;->paused:Lrx/subjects/Subject;
if-eqz p1, :cond_0
iget-object v0, p0, Lf/a/b/o0;->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>(Lcom/discord/utilities/dimmer/DimmerView;J)V
.locals 0
and-int/lit8 p2, p2, 0x1
iput-object p1, p0, Lf/a/b/o0;->d:Lcom/discord/utilities/dimmer/DimmerView;
if-eqz p2, :cond_0
iput-wide p2, p0, Lf/a/b/o0;->e:J
const/4 p1, 0x0
:cond_0
invoke-direct {p0, p1}, Lf/a/b/o0;-><init>(Ljava/lang/Object;)V
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 9
iget-object v0, p0, Lf/a/b/o0;->paused:Lrx/subjects/Subject;
check-cast p1, Lrx/Observable;
return-object v0
.end method
new-instance v8, Lcom/discord/utilities/rx/OnDelayedEmissionHandler;
.method public final getViewState()Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()TV;"
}
.end annotation
new-instance v1, Lf/a/b/n0;
iget-object v0, p0, Lf/a/b/o0;->viewStateSubject:Lrx/subjects/BehaviorSubject;
invoke-direct {v1, p0}, Lf/a/b/n0;-><init>(Lf/a/b/o0;)V
const-string v1, "viewStateSubject"
iget-wide v2, p0, Lf/a/b/o0;->e:J
invoke-static {v0, v1}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v4, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invoke-virtual {v0}, Lrx/subjects/BehaviorSubject;->j0()Ljava/lang/Object;
const/4 v5, 0x0
move-result-object v0
const/16 v6, 0x8
return-object v0
.end method
const/4 v7, 0x0
.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
move-object v0, v8
return-object p2
.end method
invoke-direct/range {v0 .. v7}, Lcom/discord/utilities/rx/OnDelayedEmissionHandler;-><init>(Lkotlin/jvm/functions/Function1;JLjava/util/concurrent/TimeUnit;Lrx/Scheduler;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
.method public final observeViewState()Lrx/Observable;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lrx/Observable<",
"TV;>;"
}
.end annotation
new-instance v0, Ls0/l/a/u;
iget-object v0, p0, Lf/a/b/o0;->viewStateSubject:Lrx/subjects/BehaviorSubject;
iget-object p1, p1, Lrx/Observable;->d:Lrx/Observable$a;
const-string v1, "viewStateSubject"
invoke-direct {v0, p1, v8}, Ls0/l/a/u;-><init>(Lrx/Observable$a;Lrx/Observable$b;)V
invoke-static {v0, v1}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object v0
.end method
.method public onCleared()V
.locals 2
invoke-super {p0}, Landroidx/lifecycle/ViewModel;->onCleared()V
invoke-virtual {p0}, Lf/a/b/o0;->getPaused()Lrx/subjects/Subject;
move-result-object v0
const/4 v1, 0x0
invoke-interface {v0, v1}, Lr0/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/o0;->getViewState()Ljava/lang/Object;
move-result-object v0
if-eqz v0, :cond_0
return-object v0
:cond_0
invoke-static {}, Lj0/n/c/h;->throwNpe()V
const/4 v0, 0x0
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/o0;->getViewState()Ljava/lang/Object;
move-result-object v0
invoke-virtual {p0, v0, p1}, Lf/a/b/o0;->modifyPendingViewState(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
invoke-static {v0}, Lrx/Observable;->d0(Lrx/Observable$a;)Lrx/Observable;
move-result-object p1
iget-object v0, p0, Lf/a/b/o0;->viewStateSubject:Lrx/subjects/BehaviorSubject;
invoke-virtual {v0, p1}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
return-void
return-object p1
.end method