Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 82615642 authored by Mårten Kongstad's avatar Mårten Kongstad Committed by Todd Kennedy
Browse files

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
parent 50e31711
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