(output: &str)
| 2391 | } |
| 2392 | |
| 2393 | fn ensure_android_clipboard_available(output: &str) -> Result<(), AppError> { |
| 2394 | if output.contains("No shell command implementation") { |
| 2395 | return Err(AppError::native( |
| 2396 | "Android clipboard shell service is not implemented on this emulator image.", |
| 2397 | )); |
| 2398 | } |
| 2399 | Ok(()) |
| 2400 | } |
| 2401 | |
| 2402 | #[cfg(test)] |
| 2403 | mod tests { |
no outgoing calls
no test coverage detected