commit | 799156a7097437ea5458abb87462f6455c4925be | [log] [tgz] |
---|---|---|
author | Victoria Lease <violets@google.com> | Mon May 20 16:17:01 2013 -0700 |
committer | The Android Automerger <android-build@android.com> | Mon May 20 17:10:14 2013 -0700 |
tree | cfcbf36c5ecbc9e191b70e760ad42510f692a7c5 | |
parent | 67f6609100091b14ef4fa2bdc6b804f98264383b [diff] |
short-term fix for flaky CTS tests that need focus A number of the tests in cts-text are flaky because a number of their operations require window focus, but the frameworks give no guarantee that an Activity has window focus at any given point in the Activity lifecycle. This commit addresses the issue by having the affected tests block in setUp() until window focus has been obtained. Bug: 9054507 Change-Id: I922c3649d7f378e7d3a7560937919f1b48713a59