DeferredScalarSubscriberSafe.smali
.class public abstract Lrx/internal/operators/DeferredScalarSubscriberSafe;
.super Lrx/internal/operators/DeferredScalarSubscriber;
.source "DeferredScalarSubscriberSafe.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lrx/internal/operators/DeferredScalarSubscriber<",
"TT;TR;>;"
}
.end annotation
# instance fields
.field protected done:Z
# direct methods
.method public constructor <init>(Lrx/Subscriber;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/Subscriber<",
"-TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0, p1}, Lrx/internal/operators/DeferredScalarSubscriber;-><init>(Lrx/Subscriber;)V
return-void
.end method
# virtual methods
.method public onCompleted()V
.registers 2
.line 1
iget-boolean v0, p0, Lrx/internal/operators/DeferredScalarSubscriberSafe;->done:Z
if-eqz v0, :cond_5
return-void
:cond_5
const/4 v0, 0x1
.line 2
iput-boolean v0, p0, Lrx/internal/operators/DeferredScalarSubscriberSafe;->done:Z
.line 3
invoke-super {p0}, Lrx/internal/operators/DeferredScalarSubscriber;->onCompleted()V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.registers 3
.line 1
iget-boolean v0, p0, Lrx/internal/operators/DeferredScalarSubscriberSafe;->done:Z
if-nez v0, :cond_b
const/4 v0, 0x1
.line 2
iput-boolean v0, p0, Lrx/internal/operators/DeferredScalarSubscriberSafe;->done:Z
.line 3
invoke-super {p0, p1}, Lrx/internal/operators/DeferredScalarSubscriber;->onError(Ljava/lang/Throwable;)V
goto :goto_e
.line 4
:cond_b
invoke-static {p1}, Lrx/plugins/RxJavaHooks;->onError(Ljava/lang/Throwable;)V
:goto_e
return-void
.end method