[mio] 增加模拟弱网参数

This commit is contained in:
lubeilin
2024-03-05 21:32:20 +08:00
parent 64d62272a6
commit 147156d96d
9 changed files with 87 additions and 19 deletions
+2
View File
@@ -132,6 +132,8 @@ pub fn new_config(env: &mut JNIEnv, config: JObject) -> Result<Config, Error> {
#[cfg(target_os = "android")]
device_fd,
UseChannelType::from_str(&use_channel.unwrap_or_default()).unwrap_or_default(),
None,
0,
) {
Ok(config) => config,
Err(e) => {