85 lines
1.9 KiB
Smali
85 lines
1.9 KiB
Smali
.class final Lcom/crashlytics/android/core/au;
|
|
.super Ljava/lang/Object;
|
|
.source "Sha1FileIdStrategy.java"
|
|
|
|
# interfaces
|
|
.implements Lcom/crashlytics/android/core/c$a;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static Y(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:try_start_0
|
|
new-instance v1, Ljava/io/BufferedInputStream;
|
|
|
|
new-instance v2, Ljava/io/FileInputStream;
|
|
|
|
invoke-direct {v2, p0}, Ljava/io/FileInputStream;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-direct {v1, v2}, Ljava/io/BufferedInputStream;-><init>(Ljava/io/InputStream;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
|
|
|
:try_start_1
|
|
invoke-static {v1}, Lio/fabric/sdk/android/a/b/i;->s(Ljava/io/InputStream;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
invoke-static {v1}, Lio/fabric/sdk/android/a/b/i;->closeQuietly(Ljava/io/Closeable;)V
|
|
|
|
return-object p0
|
|
|
|
:catchall_0
|
|
move-exception p0
|
|
|
|
move-object v0, v1
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_1
|
|
move-exception p0
|
|
|
|
:goto_0
|
|
invoke-static {v0}, Lio/fabric/sdk/android/a/b/i;->closeQuietly(Ljava/io/Closeable;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final b(Ljava/io/File;)Ljava/lang/String;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p1}, Ljava/io/File;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lcom/crashlytics/android/core/au;->Y(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|