ClearCacheRequest.smali
.class public Lcom/tradplus/ads/volley/toolbox/ClearCacheRequest;
.super Lcom/tradplus/ads/volley/Request;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/tradplus/ads/volley/Request<",
"Ljava/lang/Object;",
">;"
}
.end annotation
# instance fields
.field private final a:Lcom/tradplus/ads/volley/Cache;
.field private final b:Ljava/lang/Runnable;
# direct methods
.method public constructor <init>(Lcom/tradplus/ads/volley/Cache;Ljava/lang/Runnable;)V
.registers 5
const/4 v0, 0x0
const/4 v1, 0x0
invoke-direct {p0, v1, v0, v0}, Lcom/tradplus/ads/volley/Request;-><init>(ILjava/lang/String;Lcom/tradplus/ads/volley/Response$ErrorListener;)V
iput-object p1, p0, Lcom/tradplus/ads/volley/toolbox/ClearCacheRequest;->a:Lcom/tradplus/ads/volley/Cache;
iput-object p2, p0, Lcom/tradplus/ads/volley/toolbox/ClearCacheRequest;->b:Ljava/lang/Runnable;
return-void
.end method
# virtual methods
.method protected a(Lcom/tradplus/ads/volley/NetworkResponse;)Lcom/tradplus/ads/volley/Response;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/tradplus/ads/volley/NetworkResponse;",
")",
"Lcom/tradplus/ads/volley/Response<",
"Ljava/lang/Object;",
">;"
}
.end annotation
const/4 p1, 0x0
return-object p1
.end method
.method protected deliverResponse(Ljava/lang/Object;)V
.registers 2
return-void
.end method
.method public getPriority()Lcom/tradplus/ads/volley/Request$Priority;
.registers 2
sget-object v0, Lcom/tradplus/ads/volley/Request$Priority;->IMMEDIATE:Lcom/tradplus/ads/volley/Request$Priority;
return-object v0
.end method
.method public isCanceled()Z
.registers 3
iget-object v0, p0, Lcom/tradplus/ads/volley/toolbox/ClearCacheRequest;->a:Lcom/tradplus/ads/volley/Cache;
invoke-interface {v0}, Lcom/tradplus/ads/volley/Cache;->clear()V
iget-object v0, p0, Lcom/tradplus/ads/volley/toolbox/ClearCacheRequest;->b:Ljava/lang/Runnable;
if-eqz v0, :cond_17
new-instance v0, Landroid/os/Handler;
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
move-result-object v1
invoke-direct {v0, v1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
iget-object v1, p0, Lcom/tradplus/ads/volley/toolbox/ClearCacheRequest;->b:Ljava/lang/Runnable;
invoke-virtual {v0, v1}, Landroid/os/Handler;->postAtFrontOfQueue(Ljava/lang/Runnable;)Z
:cond_17
const/4 v0, 0x1
return v0
.end method