44 lines
997 B
Smali
44 lines
997 B
Smali
|
.class Lcom/bugsnag/android/Async;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "Async.java"
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field private static final executor:Ljava/util/concurrent/Executor;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method static constructor <clinit>()V
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
invoke-static {}, Ljava/util/concurrent/Executors;->newCachedThreadPool()Ljava/util/concurrent/ExecutorService;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
sput-object v0, Lcom/bugsnag/android/Async;->executor:Ljava/util/concurrent/Executor;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method constructor <init>()V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method static run(Ljava/lang/Runnable;)V
|
||
|
.locals 1
|
||
|
.param p0, "task" # Ljava/lang/Runnable;
|
||
|
|
||
|
.prologue
|
||
|
sget-object v0, Lcom/bugsnag/android/Async;->executor:Ljava/util/concurrent/Executor;
|
||
|
|
||
|
invoke-interface {v0, p0}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|