guard

suspend fun <T> guard(block: suspend () -> T): T(source)

Device.guard for this app only: another app's death neither throws nor is taken.