mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-11-29 08:55:48 +00:00
Add more information for libsignal-client native dependency
This commit is contained in:
1 parent
0dc33e1892
commit
9eeba88bd0
3 files changed
+20
-1
No files matched your search
@@ -49,6 +49,15 @@ public class ServiceConfig {
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean isSignalClientAvailable() {
|
||||
try {
|
||||
org.signal.client.internal.Native.DisplayableFingerprint_Format(new byte[30], new byte[30]);
|
||||
return true;
|
||||
} catch (UnsatisfiedLinkError ignored) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public static AccountAttributes.Capabilities getCapabilities() {
|
||||
return capabilities;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user