256 lines
5.6 KiB
Smali
256 lines
5.6 KiB
Smali
.class public final Lsh/g;
|
|
.super Ljava/lang/Object;
|
|
.source "DisposableLambdaObserver.java"
|
|
|
|
# interfaces
|
|
.implements Lkh/g0;
|
|
.implements Lio/reactivex/disposables/b;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Lkh/g0<",
|
|
"TT;>;",
|
|
"Lio/reactivex/disposables/b;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Lkh/g0;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkh/g0<",
|
|
"-TT;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final b:Lph/g;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lph/g<",
|
|
"-",
|
|
"Lio/reactivex/disposables/b;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final c:Lph/a;
|
|
|
|
.field public d:Lio/reactivex/disposables/b;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lkh/g0;Lph/g;Lph/a;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkh/g0<",
|
|
"-TT;>;",
|
|
"Lph/g<",
|
|
"-",
|
|
"Lio/reactivex/disposables/b;",
|
|
">;",
|
|
"Lph/a;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
iput-object p1, p0, Lsh/g;->a:Lkh/g0;
|
|
|
|
.line 3
|
|
iput-object p2, p0, Lsh/g;->b:Lph/g;
|
|
|
|
.line 4
|
|
iput-object p3, p0, Lsh/g;->c:Lph/a;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public dispose()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lsh/g;->d:Lio/reactivex/disposables/b;
|
|
|
|
.line 2
|
|
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
.line 3
|
|
iput-object v1, p0, Lsh/g;->d:Lio/reactivex/disposables/b;
|
|
|
|
.line 4
|
|
:try_start_0
|
|
iget-object v1, p0, Lsh/g;->c:Lph/a;
|
|
|
|
invoke-interface {v1}, Lph/a;->run()V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 5
|
|
invoke-static {v1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
|
|
|
|
.line 6
|
|
invoke-static {v1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
|
|
|
|
.line 7
|
|
:goto_0
|
|
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public isDisposed()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lsh/g;->d:Lio/reactivex/disposables/b;
|
|
|
|
invoke-interface {v0}, Lio/reactivex/disposables/b;->isDisposed()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public onComplete()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lsh/g;->d:Lio/reactivex/disposables/b;
|
|
|
|
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
.line 2
|
|
iput-object v1, p0, Lsh/g;->d:Lio/reactivex/disposables/b;
|
|
|
|
.line 3
|
|
iget-object v0, p0, Lsh/g;->a:Lkh/g0;
|
|
|
|
invoke-interface {v0}, Lkh/g0;->onComplete()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onError(Ljava/lang/Throwable;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lsh/g;->d:Lio/reactivex/disposables/b;
|
|
|
|
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
.line 2
|
|
iput-object v1, p0, Lsh/g;->d:Lio/reactivex/disposables/b;
|
|
|
|
.line 3
|
|
iget-object v0, p0, Lsh/g;->a:Lkh/g0;
|
|
|
|
invoke-interface {v0, p1}, Lkh/g0;->onError(Ljava/lang/Throwable;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 4
|
|
:cond_0
|
|
invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onNext(Ljava/lang/Object;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TT;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lsh/g;->a:Lkh/g0;
|
|
|
|
invoke-interface {v0, p1}, Lkh/g0;->onNext(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onSubscribe(Lio/reactivex/disposables/b;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
:try_start_0
|
|
iget-object v0, p0, Lsh/g;->b:Lph/g;
|
|
|
|
invoke-interface {v0, p1}, Lph/g;->accept(Ljava/lang/Object;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 2
|
|
iget-object v0, p0, Lsh/g;->d:Lio/reactivex/disposables/b;
|
|
|
|
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->validate(Lio/reactivex/disposables/b;Lio/reactivex/disposables/b;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 3
|
|
iput-object p1, p0, Lsh/g;->d:Lio/reactivex/disposables/b;
|
|
|
|
.line 4
|
|
iget-object p1, p0, Lsh/g;->a:Lkh/g0;
|
|
|
|
invoke-interface {p1, p0}, Lkh/g0;->onSubscribe(Lio/reactivex/disposables/b;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
.line 5
|
|
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
|
|
|
|
.line 6
|
|
invoke-interface {p1}, Lio/reactivex/disposables/b;->dispose()V
|
|
|
|
.line 7
|
|
sget-object p1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
|
|
|
|
iput-object p1, p0, Lsh/g;->d:Lio/reactivex/disposables/b;
|
|
|
|
.line 8
|
|
iget-object p1, p0, Lsh/g;->a:Lkh/g0;
|
|
|
|
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/EmptyDisposable;->error(Ljava/lang/Throwable;Lkh/g0;)V
|
|
|
|
return-void
|
|
.end method
|