commit | b3f3d3ff7e266803689fd2a7d5c1f39ff977b0a4 | [log] [tgz] |
---|---|---|
author | Bookatz <bookatz@google.com> | Fri Apr 13 14:37:29 2018 -0700 |
committer | Bookatz <bookatz@google.com> | Fri Apr 13 14:37:29 2018 -0700 |
tree | 4b697c02a5a832e2fb5f3b74f8fb0cdf651a1cfb | |
parent | 53106ededb5f4b6604b6bbc39643693ee9d4119f [diff] |
Statsd CTS: fix procstate tests Testing Foreground and TopSleeping requires that ActivityManager know that the screen state has changed before the app launches. On some devices it is a little slow, which was causing the test to fail. This fixes that. Change-Id: I3282b6fd05bce49af329152d587f54e303a30870 Fixes: 75280342 Test: run cts-dev -m CtsStatsdHostTestCases -t android.cts.statsd.atom.ProcStateAtomTests