65 lines
1.3 KiB
Smali
65 lines
1.3 KiB
Smali
.class public final Lq/h;
|
|
.super Ljava/lang/Object;
|
|
.source "Task.java"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic d:Lq/i;
|
|
|
|
.field public final synthetic e:Ljava/util/concurrent/Callable;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lq/i;Ljava/util/concurrent/Callable;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lq/h;->d:Lq/i;
|
|
|
|
iput-object p2, p0, Lq/h;->e:Ljava/util/concurrent/Callable;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public run()V
|
|
.locals 2
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lq/h;->d:Lq/i;
|
|
|
|
iget-object v1, p0, Lq/h;->e:Ljava/util/concurrent/Callable;
|
|
|
|
invoke-interface {v1}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Lq/i;->a(Ljava/lang/Object;)V
|
|
:try_end_0
|
|
.catch Ljava/util/concurrent/CancellationException; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
iget-object v1, p0, Lq/h;->d:Lq/i;
|
|
|
|
invoke-virtual {v1, v0}, Lq/i;->a(Ljava/lang/Exception;)V
|
|
|
|
goto :goto_0
|
|
|
|
:catch_1
|
|
iget-object v0, p0, Lq/h;->d:Lq/i;
|
|
|
|
invoke-virtual {v0}, Lq/i;->a()V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|