CloseableImage.smali
.class public abstract Lcom/facebook/imagepipeline/image/CloseableImage;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/facebook/imagepipeline/image/ImageInfo;
.implements Ljava/io/Closeable;
# static fields
.field private static final TAG:Ljava/lang/String; = "CloseableImage"
# direct methods
.method public constructor <init>()V
.registers 1
.line 16
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public abstract close()V
.end method
.method protected finalize()V
.registers 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 58
invoke-virtual {p0}, Lcom/facebook/imagepipeline/image/CloseableImage;->isClosed()Z
move-result v0
if-eqz v0, :cond_7
return-void
:cond_7
const/4 v0, 0x2
new-array v0, v0, [Ljava/lang/Object;
const/4 v1, 0x0
.line 64
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v2
aput-object v2, v0, v1
const/4 v1, 0x1
.line 65
invoke-static {p0}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I
move-result v2
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
aput-object v2, v0, v1
const-string v1, "CloseableImage"
const-string v2, "finalize: %s %x still open."
.line 61
invoke-static {v1, v2, v0}, Lcom/facebook/common/logging/FLog;->w(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
.line 67
:try_start_27
invoke-virtual {p0}, Lcom/facebook/imagepipeline/image/CloseableImage;->close()V
:try_end_2a
.catchall {:try_start_27 .. :try_end_2a} :catchall_2e
.line 69
invoke-super {p0}, Ljava/lang/Object;->finalize()V
return-void
:catchall_2e
move-exception v0
invoke-super {p0}, Ljava/lang/Object;->finalize()V
throw v0
.end method
.method public getQualityInfo()Lcom/facebook/imagepipeline/image/QualityInfo;
.registers 2
.line 41
sget-object v0, Lcom/facebook/imagepipeline/image/ImmutableQualityInfo;->FULL_QUALITY:Lcom/facebook/imagepipeline/image/QualityInfo;
return-object v0
.end method
.method public abstract getSizeInBytes()I
.end method
.method public abstract isClosed()Z
.end method
.method public isStateful()Z
.registers 2
const/4 v0, 0x0
return v0
.end method