Weather/smali_classes4/com/squareup/picasso/UrlConnectionDownloader$ResponseCacheIcs.smali
2021-05-10 10:13:34 +02:00

60 lines
1.4 KiB
Smali

.class Lcom/squareup/picasso/UrlConnectionDownloader$ResponseCacheIcs;
.super Ljava/lang/Object;
.source "UrlConnectionDownloader.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/squareup/picasso/UrlConnectionDownloader;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0xa
name = "ResponseCacheIcs"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 126
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method static a(Landroid/content/Context;)Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 128
invoke-static {p0}, Lcom/squareup/picasso/Utils;->b(Landroid/content/Context;)Ljava/io/File;
move-result-object p0
.line 129
invoke-static {}, Landroid/net/http/HttpResponseCache;->getInstalled()Landroid/net/http/HttpResponseCache;
move-result-object v0
if-nez v0, :cond_0
.line 131
invoke-static {p0}, Lcom/squareup/picasso/Utils;->a(Ljava/io/File;)J
move-result-wide v0
.line 132
invoke-static {p0, v0, v1}, Landroid/net/http/HttpResponseCache;->install(Ljava/io/File;J)Landroid/net/http/HttpResponseCache;
move-result-object v0
:cond_0
return-object v0
.end method