Dismiss dialogs during indeterminate progress dialog CTS tests

Indetermindate progress dialogs continuously invalidate their drawable,
which posts traversal runnables and prevents waitForIdleSync() from ever
returning. Dismissing them ensures the animation stops.

Bug: 21208281
Change-Id: I74d1ed19a7843038e980de525752bd18b1ac8a20
1 file changed