We used to only recover device before the last round of try.
But test devices, especially emulator can start with a bad state, and
cause majority of test to fail. In this case, it is better to recover
device sooner than the last round.
This will hopefully improve P99 of per-shard runtime, especially
for android_browsertests on Android Desktop builder
Also remove the logic for lollipop since it is deprecated.
Bug: 391893869
Change-Id: I43f24a847425000335e7a06d52336df2ed27772a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6341612
Reviewed-by: Ben Pastene <bpastene@chromium.org>
Commit-Queue: Haiyang Pan <hypan@google.com>
Cr-Commit-Position: refs/heads/main@{#1431592}