google / mobly

E2E test framework for tests with complex environment requirements.
https://github.com/google/mobly
Apache License 2.0
636 stars 177 forks source link

Properly handle service re-start and resume in `AndroidDevice`. #662

Closed xpconanfan closed 4 years ago

xpconanfan commented 4 years ago

Only re-start and resume the services that were alive before the reboot/disconnect.


This change is Reviewable

mderu commented 4 years ago

mobly/controllers/android_device_lib/service_manager.py, line 129 at r1 (raw file):

Previously, xpconanfan (Ang Li) wrote…
so we keep this as is?

Yes.