apkfuckery/com.discord/smali/rx/internal/operators/OnSubscribeDelaySubscriptionOther.smali
2019-02-04 21:05:16 +01:00

124 lines
3.8 KiB
Smali

.class public final Lrx/internal/operators/OnSubscribeDelaySubscriptionOther;
.super Ljava/lang/Object;
.source "OnSubscribeDelaySubscriptionOther.java"
# interfaces
.implements Lrx/Observable$OnSubscribe;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"U:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/Observable$OnSubscribe",
"<TT;>;"
}
.end annotation
# instance fields
.field final main:Lrx/Observable;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/Observable",
"<+TT;>;"
}
.end annotation
.end field
.field final other:Lrx/Observable;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/Observable",
"<TU;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lrx/Observable;Lrx/Observable;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/Observable",
"<+TT;>;",
"Lrx/Observable",
"<TU;>;)V"
}
.end annotation
.prologue
.local p0, "this":Lrx/internal/operators/OnSubscribeDelaySubscriptionOther;, "Lrx/internal/operators/OnSubscribeDelaySubscriptionOther<TT;TU;>;"
.local p1, "main":Lrx/Observable;, "Lrx/Observable<+TT;>;"
.local p2, "other":Lrx/Observable;, "Lrx/Observable<TU;>;"
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lrx/internal/operators/OnSubscribeDelaySubscriptionOther;->main:Lrx/Observable;
iput-object p2, p0, Lrx/internal/operators/OnSubscribeDelaySubscriptionOther;->other:Lrx/Observable;
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.locals 0
.param p1, "x0" # Ljava/lang/Object;
.prologue
.local p0, "this":Lrx/internal/operators/OnSubscribeDelaySubscriptionOther;, "Lrx/internal/operators/OnSubscribeDelaySubscriptionOther<TT;TU;>;"
check-cast p1, Lrx/Subscriber;
.end local p1 # "x0":Ljava/lang/Object;
invoke-virtual {p0, p1}, Lrx/internal/operators/OnSubscribeDelaySubscriptionOther;->call(Lrx/Subscriber;)V
return-void
.end method
.method public call(Lrx/Subscriber;)V
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/Subscriber",
"<-TT;>;)V"
}
.end annotation
.prologue
.local p0, "this":Lrx/internal/operators/OnSubscribeDelaySubscriptionOther;, "Lrx/internal/operators/OnSubscribeDelaySubscriptionOther<TT;TU;>;"
.local p1, "t":Lrx/Subscriber;, "Lrx/Subscriber<-TT;>;"
new-instance v2, Lrx/subscriptions/SerialSubscription;
invoke-direct {v2}, Lrx/subscriptions/SerialSubscription;-><init>()V
.local v2, "serial":Lrx/subscriptions/SerialSubscription;
invoke-virtual {p1, v2}, Lrx/Subscriber;->add(Lrx/Subscription;)V
invoke-static {p1}, Lrx/observers/Subscribers;->wrap(Lrx/Subscriber;)Lrx/Subscriber;
move-result-object v0
.local v0, "child":Lrx/Subscriber;, "Lrx/Subscriber<TT;>;"
new-instance v1, Lrx/internal/operators/OnSubscribeDelaySubscriptionOther$1;
invoke-direct {v1, p0, v0, v2}, Lrx/internal/operators/OnSubscribeDelaySubscriptionOther$1;-><init>(Lrx/internal/operators/OnSubscribeDelaySubscriptionOther;Lrx/Subscriber;Lrx/subscriptions/SerialSubscription;)V
.local v1, "otherSubscriber":Lrx/Subscriber;, "Lrx/Subscriber<TU;>;"
invoke-virtual {v2, v1}, Lrx/subscriptions/SerialSubscription;->set(Lrx/Subscription;)V
iget-object v3, p0, Lrx/internal/operators/OnSubscribeDelaySubscriptionOther;->other:Lrx/Observable;
invoke-virtual {v3, v1}, Lrx/Observable;->unsafeSubscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
.end method