u.smali
.class final Lbolts/u;
.super Ljava/lang/Object;
.source "Task.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lbolts/y;->a(Ljava/util/concurrent/Callable;Ljava/util/concurrent/Executor;Lbolts/h;)Lbolts/y;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = null
.end annotation
# instance fields
.field final synthetic a:Lbolts/h;
.field final synthetic b:Lbolts/z;
.field final synthetic c:Ljava/util/concurrent/Callable;
# direct methods
.method constructor <init>(Lbolts/h;Lbolts/z;Ljava/util/concurrent/Callable;)V
.registers 4
.line 1
iput-object p1, p0, Lbolts/u;->a:Lbolts/h;
iput-object p2, p0, Lbolts/u;->b:Lbolts/z;
iput-object p3, p0, Lbolts/u;->c:Ljava/util/concurrent/Callable;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.registers 3
.line 1
iget-object v0, p0, Lbolts/u;->a:Lbolts/h;
if-eqz v0, :cond_10
invoke-virtual {v0}, Lbolts/h;->a()Z
move-result v0
if-eqz v0, :cond_10
.line 2
iget-object v0, p0, Lbolts/u;->b:Lbolts/z;
invoke-virtual {v0}, Lbolts/z;->b()V
return-void
.line 3
:cond_10
:try_start_10
iget-object v0, p0, Lbolts/u;->b:Lbolts/z;
iget-object v1, p0, Lbolts/u;->c:Ljava/util/concurrent/Callable;
invoke-interface {v1}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
move-result-object v1
invoke-virtual {v0, v1}, Lbolts/z;->a(Ljava/lang/Object;)V
:try_end_1b
.catch Ljava/util/concurrent/CancellationException; {:try_start_10 .. :try_end_1b} :catch_23
.catch Ljava/lang/Exception; {:try_start_10 .. :try_end_1b} :catch_1c
goto :goto_28
:catch_1c
move-exception v0
.line 4
iget-object v1, p0, Lbolts/u;->b:Lbolts/z;
invoke-virtual {v1, v0}, Lbolts/z;->a(Ljava/lang/Exception;)V
goto :goto_28
.line 5
:catch_23
iget-object v0, p0, Lbolts/u;->b:Lbolts/z;
invoke-virtual {v0}, Lbolts/z;->b()V
:goto_28
return-void
.end method