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:
@ -300,6 +300,7 @@ public class MediaRecorderStressTest extends ActivityInstrumentationTestCase2<Me
|
|||||||
if (duration <= 0){
|
if (duration <= 0){
|
||||||
assertTrue("stressRecordAndPlayback", false);
|
assertTrue("stressRecordAndPlayback", false);
|
||||||
}
|
}
|
||||||
|
mp.release();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
assertTrue("stressRecordAndPlayback", false);
|
assertTrue("stressRecordAndPlayback", false);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user