(udid: &str)
| 4348 | } |
| 4349 | |
| 4350 | fn stale_cached_foreground_app(udid: &str) -> Option<devtools::ForegroundApp> { |
| 4351 | cached_foreground_app_with_ttl(udid, FOREGROUND_APP_STALE_TTL) |
| 4352 | } |
| 4353 | |
| 4354 | fn cached_foreground_app_with_ttl(udid: &str, ttl: Duration) -> Option<devtools::ForegroundApp> { |
| 4355 | let cache = FOREGROUND_APP_CACHE.get()?; |
no test coverage detected