takeUnhandledDeaths
The watched deaths after after that no client has yet (AppDeath.handled: no command's error carried them, and no guard / allowDeaths / expectDeath block took them), and takes them, so a second call does not return them. It first waits until 300 ms after the latest input, because Android logs a crash shortly after the input that caused it. This is the end-of-test check the JUnit extension runs; another test framework can run it the same way.