(udid: &str)
| 136 | } |
| 137 | |
| 138 | pub fn stop_camera(udid: &str) -> Result<Value, AppError> { |
| 139 | validate_udid(udid)?; |
| 140 | native_stop_camera(udid)?; |
| 141 | let _ = fs::remove_file(injected_bundles_file(udid)); |
| 142 | Ok(json!({ "ok": true, "udid": udid, "alive": false })) |
| 143 | } |
| 144 | |
| 145 | fn native_start_camera( |
| 146 | udid: &str, |
nothing calls this directly
no test coverage detected