b.smali
.class public final Lio/reactivex/internal/operators/single/b;
.super Lio/reactivex/u;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/u<",
"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/u;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/single/b;->a:Ljava/util/concurrent/Callable;
return-void
.end method
# virtual methods
.method public final g(Lio/reactivex/v;)V
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/v<",
"-TT;>;)V"
}
.end annotation
.line 1
invoke-static {}, Lcom/google/android/material/shape/e;->g()Lio/reactivex/disposables/b;
move-result-object v0
.line 2
invoke-interface {p1, v0}, Lio/reactivex/v;->onSubscribe(Lio/reactivex/disposables/b;)V
.line 3
check-cast v0, Lio/reactivex/disposables/c;
invoke-virtual {v0}, Lio/reactivex/disposables/c;->isDisposed()Z
move-result v1
if-eqz v1, :cond_10
return-void
.line 4
:cond_10
:try_start_10
iget-object v1, p0, Lio/reactivex/internal/operators/single/b;->a:Ljava/util/concurrent/Callable;
invoke-interface {v1}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
move-result-object v1
const-string v2, "The callable returned a null value"
.line 5
invoke-static {v1, v2}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
:try_end_1b
.catchall {:try_start_10 .. :try_end_1b} :catchall_25
.line 6
invoke-virtual {v0}, Lio/reactivex/disposables/c;->isDisposed()Z
move-result v0
if-nez v0, :cond_24
.line 7
invoke-interface {p1, v1}, Lio/reactivex/v;->onSuccess(Ljava/lang/Object;)V
:cond_24
return-void
:catchall_25
move-exception v1
.line 8
invoke-static {v1}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V
.line 9
invoke-virtual {v0}, Lio/reactivex/disposables/c;->isDisposed()Z
move-result v0
if-nez v0, :cond_33
.line 10
invoke-interface {p1, v1}, Lio/reactivex/v;->onError(Ljava/lang/Throwable;)V
goto :goto_36
.line 11
:cond_33
invoke-static {v1}, Lio/reactivex/plugins/a;->b(Ljava/lang/Throwable;)V
:goto_36
return-void
.end method