Changes of com.discord v1066

This commit is contained in:
root 2020-03-17 00:08:34 +01:00
parent 643d7de8de
commit ac03cf12d2
671 changed files with 21334 additions and 19793 deletions

View file

@ -16,57 +16,3 @@
return-void
.end method
.method public static a(Ljava/io/InputStream;)I
.locals 4
.annotation build Landroidx/annotation/RequiresApi;
api = 0x18
.end annotation
:try_start_0
new-instance v0, Landroid/media/ExifInterface;
invoke-direct {v0, p0}, Landroid/media/ExifInterface;-><init>(Ljava/io/InputStream;)V
const-string p0, "Orientation"
const/4 v1, 0x1
invoke-virtual {v0, p0, v1}, Landroid/media/ExifInterface;->getAttributeInt(Ljava/lang/String;I)I
move-result p0
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
return p0
:catch_0
move-exception p0
sget-object v0, Le/j/d/f/a;->a:Le/j/d/f/c;
check-cast v0, Le/j/d/f/b;
const/4 v1, 0x3
invoke-virtual {v0, v1}, Le/j/d/f/b;->a(I)Z
move-result v0
if-eqz v0, :cond_0
sget-object v0, Le/j/d/f/a;->a:Le/j/d/f/c;
check-cast v0, Le/j/d/f/b;
const-string v2, "HeifExifUtil"
const-string v3, "Failed reading Heif Exif orientation -> ignoring"
invoke-virtual {v0, v1, v2, v3, p0}, Le/j/d/f/b;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
:cond_0
const/4 p0, 0x0
return p0
.end method