apkfuckery/com.discord/smali/com/facebook/imageutils/HeifExifUtil.smali

41 lines
900 B
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lcom/facebook/imageutils/HeifExifUtil;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "HeifExifUtil.java"
2019-02-04 20:08:30 +00:00
# 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