AI 145727: CTS: Fixes and improvements for device reboots
  Recently, we see a new behavior where the device indicates that the boot
  is complete, but then the adb connection drops shortly after, while the
  CTS is trying to install a package. This means the CTS never sees a result
  for the package installation and keeps waiting forever. As a workaround,
  add a delay after the device indicates that the boot is complete, so that
  the connection is fully restored by the time the CTS resumes. Create a bugreport on the device if the connection drops during the time we wait after reboot.
  Also fix a problem in the disconnect notification.

Automated import of CL 145727
5 files changed
tree: f040fa7d098f659afa99e526a4d7bd65bc752225
  1. tests/
  2. tools/
  3. Android.mk