155 lines
3.6 KiB
Smali
155 lines
3.6 KiB
Smali
.class public final Lio/reactivex/internal/operators/completable/d$a;
|
|
.super Ljava/lang/Object;
|
|
.source "CompletableDisposeOn.java"
|
|
|
|
# interfaces
|
|
.implements Lkh/d;
|
|
.implements Lio/reactivex/disposables/b;
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lio/reactivex/internal/operators/completable/d;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "a"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Lkh/d;
|
|
|
|
.field public final b:Lkh/h0;
|
|
|
|
.field public c:Lio/reactivex/disposables/b;
|
|
|
|
.field public volatile d:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lkh/d;Lkh/h0;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
iput-object p1, p0, Lio/reactivex/internal/operators/completable/d$a;->a:Lkh/d;
|
|
|
|
.line 3
|
|
iput-object p2, p0, Lio/reactivex/internal/operators/completable/d$a;->b:Lkh/h0;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public dispose()V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 1
|
|
iput-boolean v0, p0, Lio/reactivex/internal/operators/completable/d$a;->d:Z
|
|
|
|
.line 2
|
|
iget-object v0, p0, Lio/reactivex/internal/operators/completable/d$a;->b:Lkh/h0;
|
|
|
|
invoke-virtual {v0, p0}, Lkh/h0;->e(Ljava/lang/Runnable;)Lio/reactivex/disposables/b;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public isDisposed()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lio/reactivex/internal/operators/completable/d$a;->d:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public onComplete()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lio/reactivex/internal/operators/completable/d$a;->d:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 2
|
|
:cond_0
|
|
iget-object v0, p0, Lio/reactivex/internal/operators/completable/d$a;->a:Lkh/d;
|
|
|
|
invoke-interface {v0}, Lkh/d;->onComplete()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onError(Ljava/lang/Throwable;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lio/reactivex/internal/operators/completable/d$a;->d:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
|
|
.line 3
|
|
:cond_0
|
|
iget-object v0, p0, Lio/reactivex/internal/operators/completable/d$a;->a:Lkh/d;
|
|
|
|
invoke-interface {v0, p1}, Lkh/d;->onError(Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onSubscribe(Lio/reactivex/disposables/b;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lio/reactivex/internal/operators/completable/d$a;->c: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 2
|
|
iput-object p1, p0, Lio/reactivex/internal/operators/completable/d$a;->c:Lio/reactivex/disposables/b;
|
|
|
|
.line 3
|
|
iget-object p1, p0, Lio/reactivex/internal/operators/completable/d$a;->a:Lkh/d;
|
|
|
|
invoke-interface {p1, p0}, Lkh/d;->onSubscribe(Lio/reactivex/disposables/b;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public run()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lio/reactivex/internal/operators/completable/d$a;->c:Lio/reactivex/disposables/b;
|
|
|
|
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
|
|
|
|
.line 2
|
|
sget-object v0, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
|
|
|
|
iput-object v0, p0, Lio/reactivex/internal/operators/completable/d$a;->c:Lio/reactivex/disposables/b;
|
|
|
|
return-void
|
|
.end method
|