Merge "Add the mediaplayer release in the test validation. This is to ensure the media player release properly." into gingerbread

This commit is contained in:
Yu Shan Emily Lau
2010-10-27 11:12:58 -07:00
committed by Android (Google) Code Review

View File

@@ -300,6 +300,7 @@ public class MediaRecorderStressTest extends ActivityInstrumentationTestCase2<Me
if (duration <= 0){
assertTrue("stressRecordAndPlayback", false);
}
mp.release();
} catch (Exception e) {
assertTrue("stressRecordAndPlayback", false);
}