diff options
author | Yu Shan Emily Lau <yslau@google.com> | 2010-10-26 14:36:09 -0700 |
---|---|---|
committer | Yu Shan Emily Lau <yslau@google.com> | 2010-10-26 14:36:09 -0700 |
commit | 93aa00c664ae59c2224853f14d30a6671c467ef0 (patch) | |
tree | 52498cbc3ab254bdd7946fef8c2e416458017760 /media | |
parent | baced375ba5f374445c44a2115700d69693794a0 (diff) | |
download | frameworks_base-93aa00c664ae59c2224853f14d30a6671c467ef0.zip frameworks_base-93aa00c664ae59c2224853f14d30a6671c467ef0.tar.gz frameworks_base-93aa00c664ae59c2224853f14d30a6671c467ef0.tar.bz2 |
Add the mediaplayer release in the test validation. This is to ensure the media player release properly.
Change-Id: Ia4758a3c549b64b6efead18e7538d977dee2be76
Diffstat (limited to 'media')
-rw-r--r-- | media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaRecorderStressTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaRecorderStressTest.java b/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaRecorderStressTest.java index 3908d71..b4ae593 100644 --- a/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaRecorderStressTest.java +++ b/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaRecorderStressTest.java @@ -300,6 +300,7 @@ public class MediaRecorderStressTest extends ActivityInstrumentationTestCase2<Me if (duration <= 0){ assertTrue("stressRecordAndPlayback", false); } + mp.release(); } catch (Exception e) { assertTrue("stressRecordAndPlayback", false); } |