a$b.smali

.class public final Lcom/bumptech/glide/disklrucache/a$b;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/util/concurrent/ThreadFactory;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/bumptech/glide/disklrucache/a;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = "b"
.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 declared-synchronized newThread(Ljava/lang/Runnable;)Ljava/lang/Thread;
    .registers 4

    monitor-enter p0

    .line 1
    :try_start_1
    monitor-enter p0
    :try_end_2
    .catchall {:try_start_1 .. :try_end_2} :catchall_22

    .line 2
    :try_start_2
    new-instance v0, Ljava/lang/Thread;

    const-string v1, "glide-disk-lru-cache-thread"

    invoke-direct {v0, p1, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;Ljava/lang/String;)V

    const/4 p1, 0x1

    .line 3
    invoke-virtual {v0, p1}, Ljava/lang/Thread;->setPriority(I)V
    :try_end_d
    .catchall {:try_start_2 .. :try_end_d} :catchall_24

    .line 4
    :try_start_d
    monitor-exit p0
    :try_end_e
    .catchall {:try_start_d .. :try_end_e} :catchall_22

    .line 5
    :try_start_e
    invoke-static {}, Lcom/shopee/app/asm/fix/androidx/b;->b()Z

    move-result p1

    if-eqz p1, :cond_20

    .line 6
    invoke-static {v0}, Lcom/shopee/app/asm/fix/androidx/b;->a(Ljava/lang/Thread;)V
    :try_end_17
    .catchall {:try_start_e .. :try_end_17} :catchall_18

    goto :goto_20

    :catchall_18
    move-exception p1

    .line 7
    :try_start_19
    invoke-static {}, Lcom/shopee/app/apm/c;->d()Lcom/shopee/app/apm/nonfatal/a;

    move-result-object v1

    invoke-virtual {v1, p1}, Lcom/shopee/app/apm/nonfatal/a;->c(Ljava/lang/Throwable;)V
    :try_end_20
    .catchall {:try_start_19 .. :try_end_20} :catchall_22

    .line 8
    :cond_20
    :goto_20
    monitor-exit p0

    return-object v0

    :catchall_22
    move-exception p1

    goto :goto_27

    :catchall_24
    move-exception p1

    .line 9
    :try_start_25
    monitor-exit p0

    throw p1
    :try_end_27
    .catchall {:try_start_25 .. :try_end_27} :catchall_22

    :goto_27
    monitor-exit p0

    throw p1
.end method