Skip to content
Commit f8d1c26e authored by JW Wang's avatar JW Wang
Browse files

Improve the logic of checking device idle

* #checkDeviceIdle encapsulates the logic of checking device idle,
  making the life of the caller easier.
* Now timeout-check always happens after device-idle-check.
  No clamping is needed w.r.t PENDING_CHECK_MILLIS.

Bug: 235306967
Test: atest CtsStagedInstallHostTestCases
Change-Id: Ibbdd34518ce9f53b5053eff18826e2dd72edac6b
parent 377a1c36
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment