mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2026-05-16 04:52:39 +02:00
JNI fixes.
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ea10d3c5562c9f449a4e89e9c3dfcf881ed79a952f3409bc005bcc62c2cf4b81
|
|
||||||
size 65512557
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:22c06ca0d1a5808b2fc0a12227d5915b3126bc0b9b1305cf6bab855f2ec6fcbb
|
||||||
|
size 36133152
|
||||||
@@ -436,9 +436,9 @@ class StateApp {
|
|||||||
try {
|
try {
|
||||||
val caFile = AppCaUpdater.ensureCaBundle(context)
|
val caFile = AppCaUpdater.ensureCaBundle(context)
|
||||||
Libcurl.setDefaultCAPath(caFile.absolutePath)
|
Libcurl.setDefaultCAPath(caFile.absolutePath)
|
||||||
|
Logger.i(TAG, "Libcurl initialized")
|
||||||
} catch (t: Throwable) {
|
} catch (t: Throwable) {
|
||||||
val fallback = File(context.noBackupFilesDir, "curl-ca-bundle.pem")
|
Logger.e(TAG, "Failed to initialize Libcurl", t);
|
||||||
if (fallback.exists()) Libcurl.setDefaultCAPath(fallback.absolutePath)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
+1
-1
Submodule dep/polycentricandroid updated: 642747fae8...3f14a31b95
Reference in New Issue
Block a user