2019-07-24 11:27:29 +00:00
|
|
|
.class final Lokhttp3/internal/c$2;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "Util.java"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Ljava/util/concurrent/ThreadFactory;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lokhttp3/internal/c;->i(Ljava/lang/String;Z)Ljava/util/concurrent/ThreadFactory;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x0
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-11-20 22:09:14 +00:00
|
|
|
.field final synthetic btl:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
.field final synthetic val$name:Ljava/lang/String;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method constructor <init>(Ljava/lang/String;Z)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lokhttp3/internal/c$2;->val$name:Ljava/lang/String;
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iput-boolean p2, p0, Lokhttp3/internal/c$2;->btl:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/Thread;
|
|
|
|
|
|
|
|
iget-object v1, p0, Lokhttp3/internal/c$2;->val$name:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-direct {v0, p1, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;Ljava/lang/String;)V
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-boolean p1, p0, Lokhttp3/internal/c$2;->btl:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/Thread;->setDaemon(Z)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|