Rabbit-R1/switch port/smali/smali_classes3/okhttp3/internal/Util$threadFactory$1.smali
2024-05-21 17:08:36 -04:00

82 lines
2 KiB
Smali

.class final Lokhttp3/internal/Util$threadFactory$1;
.super Ljava/lang/Object;
.source "Util.kt"
# interfaces
.implements Ljava/util/concurrent/ThreadFactory;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lokhttp3/internal/Util;->threadFactory(Ljava/lang/String;Z)Ljava/util/concurrent/ThreadFactory;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0010\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\u0010\u0000\u001a\n \u0002*\u0004\u0018\u00010\u00010\u00012\u000e\u0010\u0003\u001a\n \u0002*\u0004\u0018\u00010\u00040\u0004H\n\u00a2\u0006\u0002\u0008\u0005"
}
d2 = {
"<anonymous>",
"Ljava/lang/Thread;",
"kotlin.jvm.PlatformType",
"runnable",
"Ljava/lang/Runnable;",
"newThread"
}
k = 0x3
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field final synthetic $daemon:Z
.field final synthetic $name:Ljava/lang/String;
# direct methods
.method constructor <init>(Ljava/lang/String;Z)V
.locals 0
iput-object p1, p0, Lokhttp3/internal/Util$threadFactory$1;->$name:Ljava/lang/String;
iput-boolean p2, p0, Lokhttp3/internal/Util$threadFactory$1;->$daemon:Z
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final newThread(Ljava/lang/Runnable;)Ljava/lang/Thread;
.locals 2
.line 106
new-instance v0, Ljava/lang/Thread;
iget-object v1, p0, Lokhttp3/internal/Util$threadFactory$1;->$name:Ljava/lang/String;
invoke-direct {v0, p1, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;Ljava/lang/String;)V
iget-boolean p0, p0, Lokhttp3/internal/Util$threadFactory$1;->$daemon:Z
.line 107
invoke-virtual {v0, p0}, Ljava/lang/Thread;->setDaemon(Z)V
return-object v0
.end method