k0$a.smali
.class public final Lio/reactivex/internal/operators/observable/k0$a;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lio/reactivex/s;
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/observable/k0;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lio/reactivex/s<",
"TT;>;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# instance fields
.field public final a:Lio/reactivex/s;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/s<",
"-TT;>;"
}
.end annotation
.end field
.field public final b:Lio/reactivex/functions/f;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/functions/f<",
"-TT;>;"
}
.end annotation
.end field
.field public final c:Lio/reactivex/functions/f;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/functions/f<",
"-",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
.end field
.field public final d:Lio/reactivex/functions/a;
.field public final e:Lio/reactivex/functions/a;
.field public f:Lio/reactivex/disposables/b;
.field public g:Z
# direct methods
.method public constructor <init>(Lio/reactivex/s;Lio/reactivex/functions/f;Lio/reactivex/functions/f;Lio/reactivex/functions/a;Lio/reactivex/functions/a;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/s<",
"-TT;>;",
"Lio/reactivex/functions/f<",
"-TT;>;",
"Lio/reactivex/functions/f<",
"-",
"Ljava/lang/Throwable;",
">;",
"Lio/reactivex/functions/a;",
"Lio/reactivex/functions/a;",
")V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/observable/k0$a;->a:Lio/reactivex/s;
.line 3
iput-object p2, p0, Lio/reactivex/internal/operators/observable/k0$a;->b:Lio/reactivex/functions/f;
.line 4
iput-object p3, p0, Lio/reactivex/internal/operators/observable/k0$a;->c:Lio/reactivex/functions/f;
.line 5
iput-object p4, p0, Lio/reactivex/internal/operators/observable/k0$a;->d:Lio/reactivex/functions/a;
.line 6
iput-object p5, p0, Lio/reactivex/internal/operators/observable/k0$a;->e:Lio/reactivex/functions/a;
return-void
.end method
# virtual methods
.method public final dispose()V
.registers 2
iget-object v0, p0, Lio/reactivex/internal/operators/observable/k0$a;->f:Lio/reactivex/disposables/b;
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
return-void
.end method
.method public final isDisposed()Z
.registers 2
iget-object v0, p0, Lio/reactivex/internal/operators/observable/k0$a;->f:Lio/reactivex/disposables/b;
invoke-interface {v0}, Lio/reactivex/disposables/b;->isDisposed()Z
move-result v0
return v0
.end method
.method public final onComplete()V
.registers 2
.line 1
iget-boolean v0, p0, Lio/reactivex/internal/operators/observable/k0$a;->g:Z
if-eqz v0, :cond_5
return-void
.line 2
:cond_5
:try_start_5
iget-object v0, p0, Lio/reactivex/internal/operators/observable/k0$a;->d:Lio/reactivex/functions/a;
invoke-interface {v0}, Lio/reactivex/functions/a;->run()V
:try_end_a
.catchall {:try_start_5 .. :try_end_a} :catchall_20
const/4 v0, 0x1
.line 3
iput-boolean v0, p0, Lio/reactivex/internal/operators/observable/k0$a;->g:Z
.line 4
iget-object v0, p0, Lio/reactivex/internal/operators/observable/k0$a;->a:Lio/reactivex/s;
invoke-interface {v0}, Lio/reactivex/s;->onComplete()V
.line 5
:try_start_12
iget-object v0, p0, Lio/reactivex/internal/operators/observable/k0$a;->e:Lio/reactivex/functions/a;
invoke-interface {v0}, Lio/reactivex/functions/a;->run()V
:try_end_17
.catchall {:try_start_12 .. :try_end_17} :catchall_18
goto :goto_1f
:catchall_18
move-exception v0
.line 6
invoke-static {v0}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V
.line 7
invoke-static {v0}, Lio/reactivex/plugins/a;->b(Ljava/lang/Throwable;)V
:goto_1f
return-void
:catchall_20
move-exception v0
.line 8
invoke-static {v0}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V
.line 9
invoke-virtual {p0, v0}, Lio/reactivex/internal/operators/observable/k0$a;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public final onError(Ljava/lang/Throwable;)V
.registers 7
.line 1
iget-boolean v0, p0, Lio/reactivex/internal/operators/observable/k0$a;->g:Z
if-eqz v0, :cond_8
.line 2
invoke-static {p1}, Lio/reactivex/plugins/a;->b(Ljava/lang/Throwable;)V
return-void
:cond_8
const/4 v0, 0x1
.line 3
iput-boolean v0, p0, Lio/reactivex/internal/operators/observable/k0$a;->g:Z
.line 4
:try_start_b
iget-object v1, p0, Lio/reactivex/internal/operators/observable/k0$a;->c:Lio/reactivex/functions/f;
invoke-interface {v1, p1}, Lio/reactivex/functions/f;->accept(Ljava/lang/Object;)V
:try_end_10
.catchall {:try_start_b .. :try_end_10} :catchall_11
goto :goto_23
:catchall_11
move-exception v1
.line 5
invoke-static {v1}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V
.line 6
new-instance v2, Lio/reactivex/exceptions/a;
const/4 v3, 0x2
new-array v3, v3, [Ljava/lang/Throwable;
const/4 v4, 0x0
aput-object p1, v3, v4
aput-object v1, v3, v0
invoke-direct {v2, v3}, Lio/reactivex/exceptions/a;-><init>([Ljava/lang/Throwable;)V
move-object p1, v2
.line 7
:goto_23
iget-object v0, p0, Lio/reactivex/internal/operators/observable/k0$a;->a:Lio/reactivex/s;
invoke-interface {v0, p1}, Lio/reactivex/s;->onError(Ljava/lang/Throwable;)V
.line 8
:try_start_28
iget-object p1, p0, Lio/reactivex/internal/operators/observable/k0$a;->e:Lio/reactivex/functions/a;
invoke-interface {p1}, Lio/reactivex/functions/a;->run()V
:try_end_2d
.catchall {:try_start_28 .. :try_end_2d} :catchall_2e
goto :goto_35
:catchall_2e
move-exception p1
.line 9
invoke-static {p1}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V
.line 10
invoke-static {p1}, Lio/reactivex/plugins/a;->b(Ljava/lang/Throwable;)V
:goto_35
return-void
.end method
.method public final onNext(Ljava/lang/Object;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/internal/operators/observable/k0$a;->g:Z
if-eqz v0, :cond_5
return-void
.line 2
:cond_5
:try_start_5
iget-object v0, p0, Lio/reactivex/internal/operators/observable/k0$a;->b:Lio/reactivex/functions/f;
invoke-interface {v0, p1}, Lio/reactivex/functions/f;->accept(Ljava/lang/Object;)V
:try_end_a
.catchall {:try_start_5 .. :try_end_a} :catchall_10
.line 3
iget-object v0, p0, Lio/reactivex/internal/operators/observable/k0$a;->a:Lio/reactivex/s;
invoke-interface {v0, p1}, Lio/reactivex/s;->onNext(Ljava/lang/Object;)V
return-void
:catchall_10
move-exception p1
.line 4
invoke-static {p1}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V
.line 5
iget-object v0, p0, Lio/reactivex/internal/operators/observable/k0$a;->f:Lio/reactivex/disposables/b;
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
.line 6
invoke-virtual {p0, p1}, Lio/reactivex/internal/operators/observable/k0$a;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public final onSubscribe(Lio/reactivex/disposables/b;)V
.registers 3
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/observable/k0$a;->f:Lio/reactivex/disposables/b;
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/c;->validate(Lio/reactivex/disposables/b;Lio/reactivex/disposables/b;)Z
move-result v0
if-eqz v0, :cond_f
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/observable/k0$a;->f:Lio/reactivex/disposables/b;
.line 3
iget-object p1, p0, Lio/reactivex/internal/operators/observable/k0$a;->a:Lio/reactivex/s;
invoke-interface {p1, p0}, Lio/reactivex/s;->onSubscribe(Lio/reactivex/disposables/b;)V
:cond_f
return-void
.end method