e$a.smali
.class final Lio/reactivex/internal/operators/flowable/e$a;
.super Ljava/lang/Object;
.source "FlowableDoOnLifecycle.java"
# interfaces
.implements Lio/reactivex/h;
.implements Lf/b/d;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/flowable/e;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lio/reactivex/h<",
"TT;>;",
"Lf/b/d;"
}
.end annotation
# instance fields
.field final a:Lf/b/c;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lf/b/c<",
"-TT;>;"
}
.end annotation
.end field
.field final b:Lio/reactivex/b/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/b/g<",
"-",
"Lf/b/d;",
">;"
}
.end annotation
.end field
.field final c:Lio/reactivex/b/p;
.field final d:Lio/reactivex/b/a;
.field e:Lf/b/d;
# direct methods
.method constructor <init>(Lf/b/c;Lio/reactivex/b/g;Lio/reactivex/b/p;Lio/reactivex/b/a;)V
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lf/b/c<",
"-TT;>;",
"Lio/reactivex/b/g<",
"-",
"Lf/b/d;",
">;",
"Lio/reactivex/b/p;",
"Lio/reactivex/b/a;",
")V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/flowable/e$a;->a:Lf/b/c;
.line 3
iput-object p2, p0, Lio/reactivex/internal/operators/flowable/e$a;->b:Lio/reactivex/b/g;
.line 4
iput-object p4, p0, Lio/reactivex/internal/operators/flowable/e$a;->d:Lio/reactivex/b/a;
.line 5
iput-object p3, p0, Lio/reactivex/internal/operators/flowable/e$a;->c:Lio/reactivex/b/p;
return-void
.end method
# virtual methods
.method public cancel()V
.registers 3
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/e$a;->e:Lf/b/d;
.line 2
sget-object v1, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
if-eq v0, v1, :cond_18
.line 3
iput-object v1, p0, Lio/reactivex/internal/operators/flowable/e$a;->e:Lf/b/d;
.line 4
:try_start_8
iget-object v1, p0, Lio/reactivex/internal/operators/flowable/e$a;->d:Lio/reactivex/b/a;
invoke-interface {v1}, Lio/reactivex/b/a;->run()V
:try_end_d
.catch Ljava/lang/Throwable; {:try_start_8 .. :try_end_d} :catch_e
goto :goto_15
:catch_e
move-exception v1
.line 5
invoke-static {v1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 6
invoke-static {v1}, Lio/reactivex/e/a;->b(Ljava/lang/Throwable;)V
.line 7
:goto_15
invoke-interface {v0}, Lf/b/d;->cancel()V
:cond_18
return-void
.end method
.method public onComplete()V
.registers 3
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/e$a;->e:Lf/b/d;
sget-object v1, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
if-eq v0, v1, :cond_b
.line 2
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/e$a;->a:Lf/b/c;
invoke-interface {v0}, Lf/b/c;->onComplete()V
:cond_b
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.registers 4
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/e$a;->e:Lf/b/d;
sget-object v1, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
if-eq v0, v1, :cond_c
.line 2
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/e$a;->a:Lf/b/c;
invoke-interface {v0, p1}, Lf/b/c;->onError(Ljava/lang/Throwable;)V
goto :goto_f
.line 3
:cond_c
invoke-static {p1}, Lio/reactivex/e/a;->b(Ljava/lang/Throwable;)V
:goto_f
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/e$a;->a:Lf/b/c;
invoke-interface {v0, p1}, Lf/b/c;->onNext(Ljava/lang/Object;)V
return-void
.end method
.method public onSubscribe(Lf/b/d;)V
.registers 3
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/e$a;->b:Lio/reactivex/b/g;
invoke-interface {v0, p1}, Lio/reactivex/b/g;->accept(Ljava/lang/Object;)V
:try_end_5
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_5} :catch_15
.line 2
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/e$a;->e:Lf/b/d;
invoke-static {v0, p1}, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->validate(Lf/b/d;Lf/b/d;)Z
move-result v0
if-eqz v0, :cond_14
.line 3
iput-object p1, p0, Lio/reactivex/internal/operators/flowable/e$a;->e:Lf/b/d;
.line 4
iget-object p1, p0, Lio/reactivex/internal/operators/flowable/e$a;->a:Lf/b/c;
invoke-interface {p1, p0}, Lf/b/c;->onSubscribe(Lf/b/d;)V
:cond_14
return-void
:catch_15
move-exception v0
.line 5
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 6
invoke-interface {p1}, Lf/b/d;->cancel()V
.line 7
sget-object p1, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
iput-object p1, p0, Lio/reactivex/internal/operators/flowable/e$a;->e:Lf/b/d;
.line 8
iget-object p1, p0, Lio/reactivex/internal/operators/flowable/e$a;->a:Lf/b/c;
invoke-static {v0, p1}, Lio/reactivex/internal/subscriptions/EmptySubscription;->error(Ljava/lang/Throwable;Lf/b/c;)V
return-void
.end method
.method public request(J)V
.registers 4
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/e$a;->c:Lio/reactivex/b/p;
invoke-interface {v0, p1, p2}, Lio/reactivex/b/p;->accept(J)V
:try_end_5
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_5} :catch_6
goto :goto_d
:catch_6
move-exception v0
.line 2
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 3
invoke-static {v0}, Lio/reactivex/e/a;->b(Ljava/lang/Throwable;)V
.line 4
:goto_d
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/e$a;->e:Lf/b/d;
invoke-interface {v0, p1, p2}, Lf/b/d;->request(J)V
return-void
.end method