am 8b023a2e: 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:14:36 -07:00
committed by Android Git Automerger

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);
}