40 lines
872 B
Smali
40 lines
872 B
Smali
|
.class public final Lcom/facebook/imageutils/HeifExifUtil;
|
||
|
.super Ljava/lang/Object;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/MemberClasses;
|
||
|
value = {
|
||
|
Lcom/facebook/imageutils/HeifExifUtil$HeifExifUtilAndroidN;
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public static j(Ljava/io/InputStream;)I
|
||
|
.locals 2
|
||
|
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
const/16 v1, 0x18
|
||
|
|
||
|
if-lt v0, v1, :cond_0
|
||
|
|
||
|
invoke-static {p0}, Lcom/facebook/imageutils/HeifExifUtil$HeifExifUtilAndroidN;->j(Ljava/io/InputStream;)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
|
||
|
:cond_0
|
||
|
const-string p0, "HeifExifUtil"
|
||
|
|
||
|
const-string v0, "Trying to read Heif Exif information before Android N -> ignoring"
|
||
|
|
||
|
invoke-static {p0, v0}, Lcom/facebook/common/e/a;->d(Ljava/lang/String;Ljava/lang/String;)V
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return p0
|
||
|
.end method
|