mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20:39 +00:00
Add more information for libsignal-client native dependency
This commit is contained in:
parent
0dc33e1892
commit
9eeba88bd0
3 changed files with 20 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue