OSDN Git Service

Delete the video file if MediaRecorder.stop() throws an exception.
authorWu-cheng Li <wuchengli@google.com>
Thu, 16 Sep 2010 19:56:22 +0000 (12:56 -0700)
committerWu-cheng Li <wuchengli@google.com>
Thu, 16 Sep 2010 20:08:50 +0000 (13:08 -0700)
commitf17b91d977b3ef91da6df83140776d93f2fa4e47
tree686f94d93f635dde4546962b9213d9a314c234d2
parentc97d23826a28dd725951eccb62651244f9fb8228
Delete the video file if MediaRecorder.stop() throws an exception.

The file may be malformed and causes problems in decoding.
bug:2934606

Change-Id: I2864584c934455a5aa01f8fc6d732494dd7c2899
src/com/android/camera/VideoCamera.java