fix for AutomationTest.testWindowAnimationFrameStats

Like in 3e9392d we need to wait until the activity's have done there
initial drawing. After starting the first activity we need to wait
before clearing the stats for the window animations. After starting the
second activity we need to wait before collecting the stats.

Fixed by inserting getInstrumentation().waitForIdleSync() into the
appropriate places.

Change-Id: Ie0f642ad635ea877e37c65f16e5a6cba98323423
Signed-off-by: Christian Poetzsch <>
1 file changed