apkfuckery/com.discord/smali/com/facebook/b/d$2.smali
2019-03-14 21:04:00 +01:00

162 lines
3.9 KiB
Smali

.class final Lcom/facebook/b/d$2;
.super Ljava/lang/Object;
.source "DataSources.java"
# interfaces
.implements Lcom/facebook/b/e;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/facebook/b/d;->f(Lcom/facebook/b/c;)Ljava/lang/Object;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/facebook/b/e<",
"TT;>;"
}
.end annotation
# instance fields
.field final synthetic Fq:Lcom/facebook/b/d$a;
.field final synthetic Fr:Lcom/facebook/b/d$a;
.field final synthetic val$latch:Ljava/util/concurrent/CountDownLatch;
# direct methods
.method constructor <init>(Lcom/facebook/b/d$a;Ljava/util/concurrent/CountDownLatch;Lcom/facebook/b/d$a;)V
.locals 0
iput-object p1, p0, Lcom/facebook/b/d$2;->Fq:Lcom/facebook/b/d$a;
iput-object p2, p0, Lcom/facebook/b/d$2;->val$latch:Ljava/util/concurrent/CountDownLatch;
iput-object p3, p0, Lcom/facebook/b/d$2;->Fr:Lcom/facebook/b/d$a;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a(Lcom/facebook/b/c;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/b/c<",
"TT;>;)V"
}
.end annotation
invoke-interface {p1}, Lcom/facebook/b/c;->isFinished()Z
move-result v0
if-nez v0, :cond_0
return-void
:cond_0
:try_start_0
iget-object v0, p0, Lcom/facebook/b/d$2;->Fq:Lcom/facebook/b/d$a;
invoke-interface {p1}, Lcom/facebook/b/c;->getResult()Ljava/lang/Object;
move-result-object p1
iput-object p1, v0, Lcom/facebook/b/d$a;->value:Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
iget-object p1, p0, Lcom/facebook/b/d$2;->val$latch:Ljava/util/concurrent/CountDownLatch;
invoke-virtual {p1}, Ljava/util/concurrent/CountDownLatch;->countDown()V
return-void
:catchall_0
move-exception p1
iget-object v0, p0, Lcom/facebook/b/d$2;->val$latch:Ljava/util/concurrent/CountDownLatch;
invoke-virtual {v0}, Ljava/util/concurrent/CountDownLatch;->countDown()V
throw p1
.end method
.method public final b(Lcom/facebook/b/c;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/b/c<",
"TT;>;)V"
}
.end annotation
:try_start_0
iget-object v0, p0, Lcom/facebook/b/d$2;->Fr:Lcom/facebook/b/d$a;
invoke-interface {p1}, Lcom/facebook/b/c;->fA()Ljava/lang/Throwable;
move-result-object p1
iput-object p1, v0, Lcom/facebook/b/d$a;->value:Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
iget-object p1, p0, Lcom/facebook/b/d$2;->val$latch:Ljava/util/concurrent/CountDownLatch;
invoke-virtual {p1}, Ljava/util/concurrent/CountDownLatch;->countDown()V
return-void
:catchall_0
move-exception p1
iget-object v0, p0, Lcom/facebook/b/d$2;->val$latch:Ljava/util/concurrent/CountDownLatch;
invoke-virtual {v0}, Ljava/util/concurrent/CountDownLatch;->countDown()V
throw p1
.end method
.method public final c(Lcom/facebook/b/c;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/b/c<",
"TT;>;)V"
}
.end annotation
return-void
.end method
.method public final fE()V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
iget-object v0, p0, Lcom/facebook/b/d$2;->val$latch:Ljava/util/concurrent/CountDownLatch;
invoke-virtual {v0}, Ljava/util/concurrent/CountDownLatch;->countDown()V
return-void
.end method