z0.smali
.class public final Lio/reactivex/internal/operators/observable/z0;
.super Lio/reactivex/l;
.source "SourceFile"
# interfaces
.implements Ljava/util/concurrent/Callable;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/l<",
"TT;>;",
"Ljava/util/concurrent/Callable<",
"TT;>;"
}
.end annotation
# instance fields
.field public final a:Ljava/util/concurrent/Callable;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/Callable<",
"+TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/util/concurrent/Callable;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/Callable<",
"+TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lio/reactivex/l;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/observable/z0;->a:Ljava/util/concurrent/Callable;
return-void
.end method
# virtual methods
.method public final call()Ljava/lang/Object;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/observable/z0;->a:Ljava/util/concurrent/Callable;
invoke-interface {v0}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
move-result-object v0
const-string v1, "The callable returned a null value"
.line 2
invoke-static {v0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
return-object v0
.end method
.method public final subscribeActual(Lio/reactivex/s;)V
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/s<",
"-TT;>;)V"
}
.end annotation
.line 1
new-instance v0, Lio/reactivex/internal/observers/k;
invoke-direct {v0, p1}, Lio/reactivex/internal/observers/k;-><init>(Lio/reactivex/s;)V
.line 2
invoke-interface {p1, v0}, Lio/reactivex/s;->onSubscribe(Lio/reactivex/disposables/b;)V
.line 3
invoke-virtual {v0}, Lio/reactivex/internal/observers/k;->isDisposed()Z
move-result v1
if-eqz v1, :cond_f
return-void
.line 4
:cond_f
:try_start_f
iget-object v1, p0, Lio/reactivex/internal/operators/observable/z0;->a:Ljava/util/concurrent/Callable;
invoke-interface {v1}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
move-result-object v1
const-string v2, "Callable returned null"
.line 5
invoke-static {v1, v2}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
:try_end_1a
.catchall {:try_start_f .. :try_end_1a} :catchall_1e
.line 6
invoke-virtual {v0, v1}, Lio/reactivex/internal/observers/k;->a(Ljava/lang/Object;)V
return-void
:catchall_1e
move-exception v1
.line 7
invoke-static {v1}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V
.line 8
invoke-virtual {v0}, Lio/reactivex/internal/observers/k;->isDisposed()Z
move-result v0
if-nez v0, :cond_2c
.line 9
invoke-interface {p1, v1}, Lio/reactivex/s;->onError(Ljava/lang/Throwable;)V
goto :goto_2f
.line 10
:cond_2c
invoke-static {v1}, Lio/reactivex/plugins/a;->b(Ljava/lang/Throwable;)V
:goto_2f
return-void
.end method