This commit is contained in:
John Smith
2022-03-03 20:45:39 -05:00
parent 7458d0d991
commit 98799b4d3a
20 changed files with 426 additions and 135 deletions

View File

@@ -62,7 +62,7 @@ impl VeilidCoreContext {
if utils::android::ANDROID_GLOBALS.lock().is_none() {
error!("Android globals are not set up");
config.terminate().await;
return Err("Android globals are not set up".to_owned());
return Err(VeilidAPIError::Internal { message: "Android globals are not set up".to_owned() });
}
}
}

View File

@@ -47,6 +47,9 @@ pub fn veilid_version() -> (u32, u32, u32) {
)
}
#[cfg(target_os = "android")]
pub use intf::utils::android::{veilid_core_setup_android, veilid_core_setup_android_no_log};
pub static DEFAULT_LOG_IGNORE_LIST: [&str; 8] = [
"async_std",
"async_io",