i.smali
.class public final Lio/reactivex/internal/observers/i;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "SourceFile"
# interfaces
.implements Lio/reactivex/c;
.implements Lio/reactivex/disposables/b;
.implements Lio/reactivex/functions/f;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;",
"Lio/reactivex/c;",
"Lio/reactivex/disposables/b;",
"Lio/reactivex/functions/f<",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x3c8666afd0faa5aaL
# instance fields
.field public final a:Lio/reactivex/functions/f;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/functions/f<",
"-",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
.end field
.field public final b:Lio/reactivex/functions/a;
# direct methods
.method public constructor <init>(Lio/reactivex/functions/f;Lio/reactivex/functions/a;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/functions/f<",
"-",
"Ljava/lang/Throwable;",
">;",
"Lio/reactivex/functions/a;",
")V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/observers/i;->a:Lio/reactivex/functions/f;
.line 3
iput-object p2, p0, Lio/reactivex/internal/observers/i;->b:Lio/reactivex/functions/a;
return-void
.end method
# virtual methods
.method public final accept(Ljava/lang/Object;)V
.registers 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
check-cast p1, Ljava/lang/Throwable;
.line 2
new-instance v0, Lio/reactivex/exceptions/c;
invoke-direct {v0, p1}, Lio/reactivex/exceptions/c;-><init>(Ljava/lang/Throwable;)V
invoke-static {v0}, Lio/reactivex/plugins/a;->b(Ljava/lang/Throwable;)V
return-void
.end method
.method public final dispose()V
.registers 1
invoke-static {p0}, Lio/reactivex/internal/disposables/c;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public final isDisposed()Z
.registers 3
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
sget-object v1, Lio/reactivex/internal/disposables/c;->DISPOSED:Lio/reactivex/internal/disposables/c;
if-ne v0, v1, :cond_a
const/4 v0, 0x1
goto :goto_b
:cond_a
const/4 v0, 0x0
:goto_b
return v0
.end method
.method public final onComplete()V
.registers 2
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/observers/i;->b:Lio/reactivex/functions/a;
invoke-interface {v0}, Lio/reactivex/functions/a;->run()V
:try_end_5
.catchall {:try_start_0 .. :try_end_5} :catchall_6
goto :goto_d
:catchall_6
move-exception v0
.line 2
invoke-static {v0}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V
.line 3
invoke-static {v0}, Lio/reactivex/plugins/a;->b(Ljava/lang/Throwable;)V
.line 4
:goto_d
sget-object v0, Lio/reactivex/internal/disposables/c;->DISPOSED:Lio/reactivex/internal/disposables/c;
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
return-void
.end method
.method public final onError(Ljava/lang/Throwable;)V
.registers 3
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/observers/i;->a:Lio/reactivex/functions/f;
invoke-interface {v0, p1}, Lio/reactivex/functions/f;->accept(Ljava/lang/Object;)V
:try_end_5
.catchall {:try_start_0 .. :try_end_5} :catchall_6
goto :goto_d
:catchall_6
move-exception p1
.line 2
invoke-static {p1}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V
.line 3
invoke-static {p1}, Lio/reactivex/plugins/a;->b(Ljava/lang/Throwable;)V
.line 4
:goto_d
sget-object p1, Lio/reactivex/internal/disposables/c;->DISPOSED:Lio/reactivex/internal/disposables/c;
invoke-virtual {p0, p1}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
return-void
.end method
.method public final onSubscribe(Lio/reactivex/disposables/b;)V
.registers 2
invoke-static {p0, p1}, Lio/reactivex/internal/disposables/c;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
return-void
.end method