b.smali
.class public final Lretrofit2/adapter/rxjava2/b;
.super Lio/reactivex/l;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lretrofit2/adapter/rxjava2/b$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/l<",
"Lretrofit2/x<",
"TT;>;>;"
}
.end annotation
# instance fields
.field public final a:Lretrofit2/b;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lretrofit2/b<",
"TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lretrofit2/b;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lretrofit2/b<",
"TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lio/reactivex/l;-><init>()V
.line 2
iput-object p1, p0, Lretrofit2/adapter/rxjava2/b;->a:Lretrofit2/b;
return-void
.end method
# virtual methods
.method public final subscribeActual(Lio/reactivex/s;)V
.registers 7
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/s<",
"-",
"Lretrofit2/x<",
"TT;>;>;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lretrofit2/adapter/rxjava2/b;->a:Lretrofit2/b;
invoke-interface {v0}, Lretrofit2/b;->clone()Lretrofit2/b;
move-result-object v0
.line 2
new-instance v1, Lretrofit2/adapter/rxjava2/b$a;
invoke-direct {v1, v0}, Lretrofit2/adapter/rxjava2/b$a;-><init>(Lretrofit2/b;)V
invoke-interface {p1, v1}, Lio/reactivex/s;->onSubscribe(Lio/reactivex/disposables/b;)V
const/4 v1, 0x1
const/4 v2, 0x0
.line 3
:try_start_10
invoke-interface {v0}, Lretrofit2/b;->execute()Lretrofit2/x;
move-result-object v3
.line 4
invoke-interface {v0}, Lretrofit2/b;->isCanceled()Z
move-result v4
if-nez v4, :cond_1d
.line 5
invoke-interface {p1, v3}, Lio/reactivex/s;->onNext(Ljava/lang/Object;)V
.line 6
:cond_1d
invoke-interface {v0}, Lretrofit2/b;->isCanceled()Z
move-result v3
:try_end_21
.catchall {:try_start_10 .. :try_end_21} :catchall_2a
if-nez v3, :cond_52
.line 7
:try_start_23
invoke-interface {p1}, Lio/reactivex/s;->onComplete()V
:try_end_26
.catchall {:try_start_23 .. :try_end_26} :catchall_27
goto :goto_52
:catchall_27
move-exception v3
const/4 v4, 0x1
goto :goto_2c
:catchall_2a
move-exception v3
const/4 v4, 0x0
.line 8
:goto_2c
invoke-static {v3}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V
if-eqz v4, :cond_35
.line 9
invoke-static {v3}, Lio/reactivex/plugins/a;->b(Ljava/lang/Throwable;)V
goto :goto_52
.line 10
:cond_35
invoke-interface {v0}, Lretrofit2/b;->isCanceled()Z
move-result v0
if-nez v0, :cond_52
.line 11
:try_start_3b
invoke-interface {p1, v3}, Lio/reactivex/s;->onError(Ljava/lang/Throwable;)V
:try_end_3e
.catchall {:try_start_3b .. :try_end_3e} :catchall_3f
goto :goto_52
:catchall_3f
move-exception p1
.line 12
invoke-static {p1}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V
.line 13
new-instance v0, Lio/reactivex/exceptions/a;
const/4 v4, 0x2
new-array v4, v4, [Ljava/lang/Throwable;
aput-object v3, v4, v2
aput-object p1, v4, v1
invoke-direct {v0, v4}, Lio/reactivex/exceptions/a;-><init>([Ljava/lang/Throwable;)V
invoke-static {v0}, Lio/reactivex/plugins/a;->b(Ljava/lang/Throwable;)V
:cond_52
:goto_52
return-void
.end method