f$d.smali
.class public final Lh/f$d;
.super Ljava/lang/Object;
.source "Task.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lh/f;->c(Lh/g;Lh/d;Lh/f;Ljava/util/concurrent/Executor;Lh/c;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = null
.end annotation
# instance fields
.field public final synthetic a:Lh/c;
.field public final synthetic b:Lh/g;
.field public final synthetic c:Lh/d;
.field public final synthetic d:Lh/f;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Lh/c;Lh/g;Lh/d;Lh/f;)V
.registers 5
iput-object p1, p0, Lh/f$d;->a:Lh/c;
iput-object p2, p0, Lh/f$d;->b:Lh/g;
iput-object p3, p0, Lh/f$d;->c:Lh/d;
iput-object p4, p0, Lh/f$d;->d:Lh/f;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.registers 4
iget-object v0, p0, Lh/f$d;->a:Lh/c;
const/4 v1, 0x0
if-nez v0, :cond_2d
:try_start_5
iget-object v0, p0, Lh/f$d;->c:Lh/d;
iget-object v2, p0, Lh/f$d;->d:Lh/f;
invoke-interface {v0, v2}, Lh/d;->then(Lh/f;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lh/f;
if-nez v0, :cond_17
iget-object v0, p0, Lh/f$d;->b:Lh/g;
invoke-virtual {v0, v1}, Lh/g;->a(Ljava/lang/Object;)V
goto :goto_2c
:cond_17
new-instance v1, Lh/f$d$a;
invoke-direct {v1, p0}, Lh/f$d$a;-><init>(Lh/f$d;)V
invoke-virtual {v0, v1}, Lh/f;->a(Lh/d;)Lh/f;
:try_end_1f
.catch Ljava/util/concurrent/CancellationException; {:try_start_5 .. :try_end_1f} :catch_27
.catch Ljava/lang/Exception; {:try_start_5 .. :try_end_1f} :catch_20
goto :goto_2c
:catch_20
move-exception v0
iget-object v1, p0, Lh/f$d;->b:Lh/g;
invoke-virtual {v1, v0}, Lh/g;->a(Ljava/lang/Exception;)V
goto :goto_2c
:catch_27
iget-object v0, p0, Lh/f$d;->b:Lh/g;
invoke-virtual {v0}, Lh/g;->b()V
:goto_2c
return-void
:cond_2d
invoke-virtual {v0}, Lh/c;->a()Z
throw v1
.end method