apkfuckery/com.discord/smali/a/h$3.smali

101 lines
2 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class final La/h$3;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "Task.java"
2019-02-04 20:08:30 +00:00
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = La/h;->b(Ljava/util/concurrent/Callable;Ljava/util/concurrent/Executor;)La/h;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = null
.end annotation
# instance fields
2019-02-04 20:42:43 +00:00
.field final synthetic bC:La/c;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.field final synthetic bz:La/i;
2019-02-04 20:08:30 +00:00
.field final synthetic val$callable:Ljava/util/concurrent/Callable;
# direct methods
.method constructor <init>(La/c;La/i;Ljava/util/concurrent/Callable;)V
.locals 0
const/4 p1, 0x0
2019-02-04 20:42:43 +00:00
iput-object p1, p0, La/h$3;->bC:La/c;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
iput-object p2, p0, La/h$3;->bz:La/i;
2019-02-04 20:08:30 +00:00
iput-object p3, p0, La/h$3;->val$callable:Ljava/util/concurrent/Callable;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.locals 2
2019-02-04 20:42:43 +00:00
iget-object v0, p0, La/h$3;->bC:La/c;
2019-02-04 20:08:30 +00:00
if-eqz v0, :cond_0
2019-02-04 20:42:43 +00:00
iget-object v0, v0, La/c;->bh:La/e;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0}, La/e;->t()Z
move-result v0
if-eqz v0, :cond_0
2019-02-04 20:42:43 +00:00
iget-object v0, p0, La/h$3;->bz:La/i;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0}, La/i;->A()V
return-void
:cond_0
:try_start_0
2019-02-04 20:42:43 +00:00
iget-object v0, p0, La/h$3;->bz:La/i;
2019-02-04 20:08:30 +00:00
iget-object v1, p0, La/h$3;->val$callable:Ljava/util/concurrent/Callable;
invoke-interface {v1}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
move-result-object v1
invoke-virtual {v0, v1}, La/i;->k(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
return-void
:catch_0
move-exception v0
2019-02-04 20:42:43 +00:00
iget-object v1, p0, La/h$3;->bz:La/i;
2019-02-04 20:08:30 +00:00
invoke-virtual {v1, v0}, La/i;->c(Ljava/lang/Exception;)V
return-void
:catch_1
2019-02-04 20:42:43 +00:00
iget-object v0, p0, La/h$3;->bz:La/i;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0}, La/i;->A()V
return-void
.end method