(
udid: &str,
explicit: &Option<String>,
service_url: &Option<String>,
)
| 1222 | } |
| 1223 | |
| 1224 | fn command_service_url_for_udid( |
| 1225 | udid: &str, |
| 1226 | explicit: &Option<String>, |
| 1227 | service_url: &Option<String>, |
| 1228 | ) -> anyhow::Result<Option<String>> { |
| 1229 | if android::is_android_id(udid) { |
| 1230 | Ok(Some(command_service_url(explicit.as_deref())?)) |
| 1231 | } else { |
| 1232 | Ok(service_url.clone()) |
| 1233 | } |
| 1234 | } |
| 1235 | |
| 1236 | impl Default for ServiceLaunchOptions { |
| 1237 | fn default() -> Self { |
no test coverage detected