71 lines
1.9 KiB
Smali
71 lines
1.9 KiB
Smali
.class final Lcom/vk/queue/sync/QueueSyncManager$d;
|
|
.super Ljava/lang/Object;
|
|
.source "QueueSyncManager.kt"
|
|
|
|
# interfaces
|
|
.implements Ljava/util/concurrent/ThreadFactory;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/vk/queue/sync/QueueSyncManager;-><init>(ILcom/vk/api/internal/ApiManager;Ljava/util/concurrent/ExecutorService;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lcom/vk/queue/sync/QueueSyncManager;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/vk/queue/sync/QueueSyncManager;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/vk/queue/sync/QueueSyncManager$d;->a:Lcom/vk/queue/sync/QueueSyncManager;
|
|
|
|
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
|
|
|
|
.line 1
|
|
new-instance v0, Ljava/lang/Thread;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v2, "queue-sync-manager-"
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v2, p0, Lcom/vk/queue/sync/QueueSyncManager$d;->a:Lcom/vk/queue/sync/QueueSyncManager;
|
|
|
|
invoke-virtual {v2}, Lcom/vk/queue/sync/QueueSyncManager;->d()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, p1, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/Thread;->setPriority(I)V
|
|
|
|
return-object v0
|
|
.end method
|