summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/cmd_utils.py
diff options
context:
space:
mode:
authorMÃ¥rten Kongstad <marten.kongstad@sony.com>2019-03-28 14:03:14 +0100
committerTodd Kennedy <toddke@google.com>2019-05-02 10:41:08 -0700
commit82615642edb1749ab38a8093297528a1901ae0b9 (patch)
tree0f9bd04c3e7552cfde07cafbf70f414ff405d284 /startop/scripts/lib/cmd_utils.py
parent50e31711af6ca41e8ac01ccbe22818f22e44b85c (diff)
OverlayDeviceTests: don't rely on Thread#sleep
When a request to enable an overlay is received by the overlay manager service, there is some lead time before the affected process is updated. Tests need to wait until this happens. Remove the calls to Thread#sleep; instead, poll for a change to AssetManager#getApkPaths (which is faster and more reliable). Bug: 130257643 Test: atest OverlayDeviceTests Change-Id: I9f7e6207a68431859bacac0462a2bab94b4efc2d
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions