You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.2 KiB
61 lines
1.2 KiB
2 years ago
|
.class Lbolts/AndroidExecutors$UIThreadExecutor;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "AndroidExecutors.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Ljava/util/concurrent/Executor;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lbolts/AndroidExecutors;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0xa
|
||
|
name = "UIThreadExecutor"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method private constructor <init>()V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 135
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method synthetic constructor <init>(Lbolts/AndroidExecutors$1;)V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 135
|
||
|
invoke-direct {p0}, Lbolts/AndroidExecutors$UIThreadExecutor;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public execute(Ljava/lang/Runnable;)V
|
||
|
.locals 2
|
||
|
|
||
|
.prologue
|
||
|
.line 138
|
||
|
new-instance v0, Landroid/os/Handler;
|
||
|
|
||
|
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-direct {v0, v1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
|
||
|
|
||
|
invoke-virtual {v0, p1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
|
||
|
|
||
|
.line 139
|
||
|
return-void
|
||
|
.end method
|