m$a.smali
.class public final Lio/reactivex/internal/schedulers/m$a;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/schedulers/m;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# direct methods
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.registers 8
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/internal/schedulers/SchedulerPoolFactory$ScheduledTask"
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
:try_start_18
new-instance v4, Ljava/util/ArrayList;
sget-object v5, Lio/reactivex/internal/schedulers/m;->d:Ljava/util/concurrent/ConcurrentHashMap;
invoke-virtual {v5}, Ljava/util/concurrent/ConcurrentHashMap;->keySet()Ljava/util/Set;
move-result-object v5
invoke-direct {v4, v5}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
invoke-virtual {v4}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object v4
:goto_27
invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z
move-result v5
if-eqz v5, :cond_47
invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v5
check-cast v5, Ljava/util/concurrent/ScheduledThreadPoolExecutor;
.line 2
invoke-interface {v5}, Ljava/util/concurrent/ExecutorService;->isShutdown()Z
move-result v6
if-eqz v6, :cond_3f
.line 3
sget-object v6, Lio/reactivex/internal/schedulers/m;->d:Ljava/util/concurrent/ConcurrentHashMap;
invoke-virtual {v6, v5}, Ljava/util/concurrent/ConcurrentHashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
goto :goto_27
.line 4
:cond_3f
invoke-virtual {v5}, Ljava/util/concurrent/ThreadPoolExecutor;->purge()V
:try_end_42
.catchall {:try_start_18 .. :try_end_42} :catchall_43
goto :goto_27
:catchall_43
move-exception v4
.line 5
invoke-static {v4}, Lio/reactivex/plugins/a;->b(Ljava/lang/Throwable;)V
:cond_47
if-eqz v0, :cond_4c
.line 6
invoke-static {v3, v2, v1}, Lcom/shopee/monitor/trace/c;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
:cond_4c
return-void
.end method