granularity level: instruction
.class public Lcom/google/firebase/messaging/ImageDownload;
.super Ljava/lang/Object;
.source "ImageDownload.java"
.implements Ljava/io/Closeable;
.field private static final MAX_IMAGE_SIZE_BYTES:I = 0x100000
.field private volatile future:Ljava/util/concurrent/Future;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/Future<",
"*>;"
}
.end annotation
.end field
.field private task:Lcom/google/android/gms/tasks/Task;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/android/gms/tasks/Task<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
.end field
.field private final url:Ljava/net/URL;
.method private constructor <init>(Ljava/net/URL;)V
.locals 0
invoke-direct/range {p0 .. p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method private blockingDownloadBytes()[B
.locals 5
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method public static create(Ljava/lang/String;)Lcom/google/firebase/messaging/ImageDownload;
.locals 3
invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
const/4 v1, 0x0
return-object v1
.end method
.method public blockingDownload()Landroid/graphics/Bitmap;
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method public close()V
.locals 2
return-void
.end method
.method public getTask()Lcom/google/android/gms/tasks/Task;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/android/gms/tasks/Task<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method synthetic lambda$start$0$com-google-firebase-messaging-ImageDownload(Lcom/google/android/gms/tasks/TaskCompletionSource;)V
.locals 1
return-void
.end method
.method public start(Ljava/util/concurrent/ExecutorService;)V
.locals 2
return-void
.end method