mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
support an older Android API level
This commit is contained in:
@@ -39,7 +39,11 @@ JNotifyListener {
|
||||
triedLoad = true;
|
||||
}
|
||||
if (loadError != null) {
|
||||
throw new IOException("JNotify not loaded", loadError);
|
||||
// gymnastics due to having to support earlier Android APIs
|
||||
// TODO(infinity0): add a utility that does this and convert other exceptions too
|
||||
IOException e = new IOException("JNotify not loaded");
|
||||
e.initCause(loadError);
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user