fix(android): revalidate the open target after acquiring its claim
Summary
A fresh Android session confirms its selected serial after acquiring the device claim. A bounded device-scoped probe uses the existing offline recovery. Android shutdown checks that the serial has disappeared from ADB before reporting success.
Closes #5233.
Before / after
On base 34810b9960, both contenders reported success in the timing-controlled reproduction. On 8c4af8e4ea, unshimmed trials on the externally booted ReactNative_API_35 returned DEVICE_NOT_FOUND for both open --wait and plain open started during close --shutdown. Both left zero claims and sessions. The queued trial refused during AVD lookup. Opening a stopped AVD by name still succeeded.
Validation
At 8c4af8e4ea, the build and 43 focused tests passed. These cover the routed races, offline retry, delayed disconnect, and keeping the probe on the scripted ADB transport. The preceding affected run caught a host ADB escape in the disconnect check. The follow-up keeps that check on the serial-scoped shutdown transport. The live runs used the checkout build with the real ADB executable. The emulator was returned to its initial stopped state. The affected gate on 8c4af8e4ea passed through related tests and failed in unit because an IME shutdown double kept returning online. 1aacbfe418 fixes that fixture. All 67 focused tests pass. All runnable affected checks passed at 1aacbfe418 with exactCommit: true (receipt run-NCEIfn). GitHub owns the hosted checks. Self-reviewed the follow-up.

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.