apkfuckery/com.discord/smali/com/adjust/sdk/s$1.smali

98 lines
2.7 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class final Lcom/adjust/sdk/s$1;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "CustomScheduledExecutor.java"
2019-02-04 20:08:30 +00:00
# interfaces
.implements Ljava/util/concurrent/ThreadFactory;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/adjust/sdk/s;-><init>(Ljava/lang/String;Z)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
2019-05-03 18:53:54 +00:00
.field final synthetic dH:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field final synthetic dI:Lcom/adjust/sdk/s;
2019-02-04 20:08:30 +00:00
# direct methods
.method constructor <init>(Lcom/adjust/sdk/s;Ljava/lang/String;)V
.locals 0
2019-05-03 18:53:54 +00:00
iput-object p1, p0, Lcom/adjust/sdk/s$1;->dI:Lcom/adjust/sdk/s;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iput-object p2, p0, Lcom/adjust/sdk/s$1;->dH:Ljava/lang/String;
2019-02-04 20:08:30 +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 3
invoke-static {}, Ljava/util/concurrent/Executors;->defaultThreadFactory()Ljava/util/concurrent/ThreadFactory;
move-result-object v0
new-instance v1, Lcom/adjust/sdk/s$a;
2019-05-03 18:53:54 +00:00
iget-object v2, p0, Lcom/adjust/sdk/s$1;->dI:Lcom/adjust/sdk/s;
2019-02-04 20:08:30 +00:00
invoke-direct {v1, v2, p1}, Lcom/adjust/sdk/s$a;-><init>(Lcom/adjust/sdk/s;Ljava/lang/Runnable;)V
invoke-interface {v0, v1}, Ljava/util/concurrent/ThreadFactory;->newThread(Ljava/lang/Runnable;)Ljava/lang/Thread;
move-result-object p1
const/4 v0, 0x1
invoke-virtual {p1, v0}, Ljava/lang/Thread;->setPriority(I)V
new-instance v1, Ljava/lang/StringBuilder;
const-string v2, "Adjust-"
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {p1}, Ljava/lang/Thread;->getName()Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v2, "-"
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-05-03 18:53:54 +00:00
iget-object v2, p0, Lcom/adjust/sdk/s$1;->dH:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-virtual {p1, v1}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V
invoke-virtual {p1, v0}, Ljava/lang/Thread;->setDaemon(Z)V
new-instance v0, Lcom/adjust/sdk/s$1$1;
invoke-direct {v0, p0}, Lcom/adjust/sdk/s$1$1;-><init>(Lcom/adjust/sdk/s$1;)V
invoke-virtual {p1, v0}, Ljava/lang/Thread;->setUncaughtExceptionHandler(Ljava/lang/Thread$UncaughtExceptionHandler;)V
return-object p1
.end method