MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / ensure_android_clipboard_available

Function ensure_android_clipboard_available

packages/server/src/android.rs:2393–2400  ·  view source on GitHub ↗
(output: &str)

Source from the content-addressed store, hash-verified

2391}
2392
2393fn 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)]
2403mod tests {

Callers 2

set_pasteboard_textMethod · 0.85
pasteboard_textMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected