2020-05-11 18:18:42 +00:00
|
|
|
.class public Lf0/o/b;
|
2019-12-06 03:29:40 +00:00
|
|
|
.super Lrx/Subscriber;
|
|
|
|
.source "SafeSubscriber.java"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
|
|
|
"Lrx/Subscriber<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final d:Lrx/Subscriber;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lrx/Subscriber<",
|
|
|
|
"-TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field public e:Z
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lrx/Subscriber;)V
|
|
|
|
.locals 0
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lrx/Subscriber<",
|
|
|
|
"-TT;>;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Lrx/Subscriber;-><init>(Lrx/Subscriber;)V
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
iput-object p1, p0, Lf0/o/b;->d:Lrx/Subscriber;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public onCompleted()V
|
|
|
|
.locals 3
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
iget-boolean v0, p0, Lf0/o/b;->e:Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
iput-boolean v0, p0, Lf0/o/b;->e:Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:try_start_0
|
2020-05-11 18:18:42 +00:00
|
|
|
iget-object v0, p0, Lf0/o/b;->d:Lrx/Subscriber;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-interface {v0}, Lf0/g;->onCompleted()V
|
2019-12-06 03:29:40 +00:00
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
|
|
|
|
|
|
|
:try_start_1
|
|
|
|
invoke-virtual {p0}, Lrx/Subscriber;->unsubscribe()V
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v0
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-static {v0}, Lf0/p/l;->a(Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
new-instance v1, Lf0/k/g;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-direct {v1, v2, v0}, Lf0/k/g;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:catchall_1
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
:try_start_2
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-static {v0}, Le/o/a/j/a;->b(Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-static {v0}, Lf0/p/l;->a(Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
new-instance v1, Lf0/k/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-direct {v1, v2, v0}, Lf0/k/c;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v1
|
|
|
|
:try_end_2
|
|
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_2
|
|
|
|
|
|
|
|
:catchall_2
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
:try_start_3
|
|
|
|
invoke-virtual {p0}, Lrx/Subscriber;->unsubscribe()V
|
|
|
|
:try_end_3
|
|
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_3
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:catchall_3
|
|
|
|
move-exception v0
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-static {v0}, Lf0/p/l;->a(Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
new-instance v1, Lf0/k/g;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-direct {v1, v2, v0}, Lf0/k/g;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:goto_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onError(Ljava/lang/Throwable;)V
|
|
|
|
.locals 8
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-static {p1}, Le/o/a/j/a;->b(Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
iget-boolean v0, p0, Lf0/o/b;->e:Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
iput-boolean v0, p0, Lf0/o/b;->e:Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
sget-object v1, Lf0/p/o;->f:Lf0/p/o;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-virtual {v1}, Lf0/p/o;->b()Lf0/p/b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-virtual {v1}, Lf0/p/b;->a()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x2
|
|
|
|
|
|
|
|
:try_start_0
|
2020-05-11 18:18:42 +00:00
|
|
|
iget-object v3, p0, Lf0/o/b;->d:Lrx/Subscriber;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-interface {v3, p1}, Lf0/g;->onError(Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
:try_end_0
|
2020-05-11 18:18:42 +00:00
|
|
|
.catch Lf0/k/e; {:try_start_0 .. :try_end_0} :catch_0
|
2019-12-06 03:29:40 +00:00
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
|
|
|
|
|
|
|
:try_start_1
|
|
|
|
invoke-virtual {p0}, Lrx/Subscriber;->unsubscribe()V
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-static {p1}, Lf0/p/l;->a(Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
new-instance v0, Lf0/k/d;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-direct {v0, p1}, Lf0/k/d;-><init>(Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:catchall_1
|
|
|
|
move-exception v3
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-static {v3}, Lf0/p/l;->a(Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:try_start_2
|
|
|
|
invoke-virtual {p0}, Lrx/Subscriber;->unsubscribe()V
|
|
|
|
:try_end_2
|
|
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_2
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
new-instance v4, Lf0/k/d;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
new-instance v5, Lf0/k/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
new-array v2, v2, [Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
aput-object p1, v2, v1
|
|
|
|
|
|
|
|
aput-object v3, v2, v0
|
|
|
|
|
|
|
|
invoke-static {v2}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-direct {v5, p1}, Lf0/k/a;-><init>(Ljava/util/Collection;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const-string p1, "Error occurred when trying to propagate error to Observer.onError"
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-direct {v4, p1, v5}, Lf0/k/d;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v4
|
|
|
|
|
|
|
|
:catchall_2
|
|
|
|
move-exception v4
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-static {v4}, Lf0/p/l;->a(Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
new-instance v5, Lf0/k/d;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
new-instance v6, Lf0/k/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v7, 0x3
|
|
|
|
|
|
|
|
new-array v7, v7, [Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
aput-object p1, v7, v1
|
|
|
|
|
|
|
|
aput-object v3, v7, v0
|
|
|
|
|
|
|
|
aput-object v4, v7, v2
|
|
|
|
|
|
|
|
invoke-static {v7}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-direct {v6, p1}, Lf0/k/a;-><init>(Ljava/util/Collection;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const-string p1, "Error occurred when trying to propagate error to Observer.onError and during unsubscription."
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-direct {v5, p1, v6}, Lf0/k/d;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v5
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception v3
|
|
|
|
|
|
|
|
:try_start_3
|
|
|
|
invoke-virtual {p0}, Lrx/Subscriber;->unsubscribe()V
|
|
|
|
:try_end_3
|
|
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_3
|
|
|
|
|
|
|
|
throw v3
|
|
|
|
|
|
|
|
:catchall_3
|
|
|
|
move-exception v3
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-static {v3}, Lf0/p/l;->a(Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
new-instance v4, Lf0/k/e;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
new-instance v5, Lf0/k/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
new-array v2, v2, [Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
aput-object p1, v2, v1
|
|
|
|
|
|
|
|
aput-object v3, v2, v0
|
|
|
|
|
|
|
|
invoke-static {v2}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-direct {v5, p1}, Lf0/k/a;-><init>(Ljava/util/Collection;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const-string p1, "Observer.onError not implemented and error while unsubscribing."
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-direct {v4, p1, v5}, Lf0/k/e;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v4
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
: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
|
|
|
|
|
|
|
|
:try_start_0
|
2020-05-11 18:18:42 +00:00
|
|
|
iget-boolean v0, p0, Lf0/o/b;->e:Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
iget-object v0, p0, Lf0/o/b;->d:Lrx/Subscriber;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-interface {v0, p1}, Lf0/g;->onNext(Ljava/lang/Object;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-static {p1}, Le/o/a/j/a;->b(Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 18:18:42 +00:00
|
|
|
invoke-virtual {p0, p1}, Lf0/o/b;->onError(Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:goto_0
|
|
|
|
return-void
|
|
|
|
.end method
|