ThrottlingProducer$ThrottlerConsumer$1.smali
.class Lcom/facebook/imagepipeline/producers/ThrottlingProducer$ThrottlerConsumer$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/facebook/imagepipeline/producers/ThrottlingProducer$ThrottlerConsumer;->onRequestFinished()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic this$1:Lcom/facebook/imagepipeline/producers/ThrottlingProducer$ThrottlerConsumer;
.field public final synthetic val$nextRequestPair:Landroid/util/Pair;
# direct methods
.method public constructor <init>(Lcom/facebook/imagepipeline/producers/ThrottlingProducer$ThrottlerConsumer;Landroid/util/Pair;)V
.registers 3
iput-object p1, p0, Lcom/facebook/imagepipeline/producers/ThrottlingProducer$ThrottlerConsumer$1;->this$1:Lcom/facebook/imagepipeline/producers/ThrottlingProducer$ThrottlerConsumer;
iput-object p2, p0, Lcom/facebook/imagepipeline/producers/ThrottlingProducer$ThrottlerConsumer$1;->val$nextRequestPair:Landroid/util/Pair;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.registers 8
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
move-result-object v0
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
move-result-object v1
if-ne v0, v1, :cond_c
const/4 v0, 0x1
goto :goto_d
:cond_c
const/4 v0, 0x0
:goto_d
const-string v1, "runnable"
const-string v2, "com/facebook/imagepipeline/producers/ThrottlingProducer$ThrottlerConsumer$1"
const-string v3, "run"
if-eqz v0, :cond_18
invoke-static {v3, v2, v1}, Lcom/shopee/monitor/trace/c;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.line 1
:cond_18
iget-object v4, p0, Lcom/facebook/imagepipeline/producers/ThrottlingProducer$ThrottlerConsumer$1;->this$1:Lcom/facebook/imagepipeline/producers/ThrottlingProducer$ThrottlerConsumer;
iget-object v4, v4, Lcom/facebook/imagepipeline/producers/ThrottlingProducer$ThrottlerConsumer;->this$0:Lcom/facebook/imagepipeline/producers/ThrottlingProducer;
iget-object v5, p0, Lcom/facebook/imagepipeline/producers/ThrottlingProducer$ThrottlerConsumer$1;->val$nextRequestPair:Landroid/util/Pair;
iget-object v6, v5, Landroid/util/Pair;->first:Ljava/lang/Object;
check-cast v6, Lcom/facebook/imagepipeline/producers/Consumer;
iget-object v5, v5, Landroid/util/Pair;->second:Ljava/lang/Object;
check-cast v5, Lcom/facebook/imagepipeline/producers/ProducerContext;
invoke-virtual {v4, v6, v5}, Lcom/facebook/imagepipeline/producers/ThrottlingProducer;->produceResultsInternal(Lcom/facebook/imagepipeline/producers/Consumer;Lcom/facebook/imagepipeline/producers/ProducerContext;)V
if-eqz v0, :cond_2e
.line 2
invoke-static {v3, v2, v1}, Lcom/shopee/monitor/trace/c;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
:cond_2e
return-void
.end method