commit | 26d49be7708dae2d53f29ec5c166ef6c75566a84 | [log] [tgz] |
---|---|---|
author | Bjorn Bringert <bringert@android.com> | Wed Mar 10 15:44:24 2010 +0000 |
committer | Bjorn Bringert <bringert@android.com> | Thu Mar 11 10:38:19 2010 +0000 |
tree | 3a653ad6dea0acb4e91f4f37669371f7ed8e0b6c | |
parent | dfb26176839bc0727c4eec422f7579d9af2df948 [diff] |
Fix failing and disabled SearchManager CTS tests The tests were really messy, and used fixed timeouts and Thread.sleep(). Rewrote them to use a Handler to postpone checks until after the search dialog has had time to show / hide. This fixes the failing testSetOnCancelListener test, and reinstates the disabled testStopSearch test. Fixes http://b/issue?id=2483047 Change-Id: If2b6d6645f6380fefffa4ac018dfb773d012a0b1