android fixes

This commit is contained in:
John Smith
2022-08-22 19:25:00 -04:00
parent 1817679460
commit e112cc4527
7 changed files with 43 additions and 19 deletions
+1 -1
View File
@@ -195,7 +195,7 @@ impl VeilidCoreContext {
) -> Result<VeilidCoreContext, VeilidAPIError> {
cfg_if! {
if #[cfg(target_os = "android")] {
if utils::android::ANDROID_GLOBALS.lock().is_none() {
if crate::intf::utils::android::ANDROID_GLOBALS.lock().is_none() {
error!("Android globals are not set up");
return Err(VeilidAPIError::Internal { message: "Android globals are not set up".to_owned() });
}