mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-12 01:53:39 +00:00
Catch unsatisfied link error on start if webrtc so isn't found
// FREEBIE
This commit is contained in:
parent
5be246ec8f
commit
e452862813
@ -159,6 +159,7 @@ public class ApplicationContext extends MultiDexApplication implements Dependenc
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void initializeWebRtc() {
|
private void initializeWebRtc() {
|
||||||
|
try {
|
||||||
Set<String> HARDWARE_AEC_BLACKLIST = new HashSet<String>() {{
|
Set<String> HARDWARE_AEC_BLACKLIST = new HashSet<String>() {{
|
||||||
add("Pixel");
|
add("Pixel");
|
||||||
add("Pixel XL");
|
add("Pixel XL");
|
||||||
@ -181,6 +182,9 @@ public class ApplicationContext extends MultiDexApplication implements Dependenc
|
|||||||
|
|
||||||
PeerConnectionFactory.initializeAndroidGlobals(this, true, true, true);
|
PeerConnectionFactory.initializeAndroidGlobals(this, true, true, true);
|
||||||
}
|
}
|
||||||
|
} catch (UnsatisfiedLinkError e) {
|
||||||
|
Log.w(TAG, e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initializeCircumvention() {
|
private void initializeCircumvention() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user