t$b.smali
.class public final Lio/reactivex/t$b;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lio/reactivex/disposables/b;
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/t;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "b"
.end annotation
# instance fields
.field public final a:Ljava/lang/Runnable;
.field public final b:Lio/reactivex/t$c;
.field public volatile c:Z
# direct methods
.method public constructor <init>(Ljava/lang/Runnable;Lio/reactivex/t$c;)V
.registers 3
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/t$b;->a:Ljava/lang/Runnable;
.line 3
iput-object p2, p0, Lio/reactivex/t$b;->b:Lio/reactivex/t$c;
return-void
.end method
# virtual methods
.method public final dispose()V
.registers 2
const/4 v0, 0x1
.line 1
iput-boolean v0, p0, Lio/reactivex/t$b;->c:Z
.line 2
iget-object v0, p0, Lio/reactivex/t$b;->b:Lio/reactivex/t$c;
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
return-void
.end method
.method public final isDisposed()Z
.registers 2
iget-boolean v0, p0, Lio/reactivex/t$b;->c:Z
return v0
.end method
.method public final run()V
.registers 7
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
move-result-object v0
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
move-result-object v1
if-ne v0, v1, :cond_c
const/4 v0, 0x1
goto :goto_d
:cond_c
const/4 v0, 0x0
:goto_d
const-string v1, "runnable"
const-string v2, "io/reactivex/Scheduler$PeriodicDirectTask"
const-string v3, "run"
if-eqz v0, :cond_18
invoke-static {v3, v2, v1}, Lcom/shopee/monitor/trace/c;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.line 1
:cond_18
iget-boolean v4, p0, Lio/reactivex/t$b;->c:Z
if-nez v4, :cond_35
.line 2
:try_start_1c
iget-object v4, p0, Lio/reactivex/t$b;->a:Ljava/lang/Runnable;
invoke-interface {v4}, Ljava/lang/Runnable;->run()V
:try_end_21
.catchall {:try_start_1c .. :try_end_21} :catchall_22
goto :goto_35
:catchall_22
move-exception v4
.line 3
invoke-static {v4}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V
.line 4
iget-object v5, p0, Lio/reactivex/t$b;->b:Lio/reactivex/t$c;
invoke-interface {v5}, Lio/reactivex/disposables/b;->dispose()V
.line 5
invoke-static {v4}, Lio/reactivex/internal/util/g;->d(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
move-result-object v4
if-eqz v0, :cond_34
invoke-static {v3, v2, v1}, Lcom/shopee/monitor/trace/c;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
:cond_34
throw v4
:cond_35
:goto_35
if-eqz v0, :cond_3a
.line 6
invoke-static {v3, v2, v1}, Lcom/shopee/monitor/trace/c;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
:cond_3a
return-void
.end method