commit | 8469c6965d70a325faf7f11eb48ad1875e61d9bd | [log] [tgz] |
---|---|---|
author | Tom Taylor <tomtaylor@google.com> | Mon May 13 08:50:31 2013 -0700 |
committer | Tom Taylor <tomtaylor@google.com> | Mon May 13 08:50:31 2013 -0700 |
tree | f40199bce0bc332d6a6bc8d027adac710290b981 | |
parent | 2c8593aa4b05933df5c766af1827a11578dc37e3 [diff] |
Video capture is returning a much larger result than specified in android.intent.extra.durationLimit Bug 8540985 We need to truncate the scrap file before writing to it, otherwise the camera will end up writing to the previous file, leaving the previous length if shorter. If you captured a pictures (1.2m) and then replaced the picture with a short video (a couple hundred k), the video file would still be 1.2m. Change-Id: I56c913d7ac530ec5a8c5f330bc7f9aa08512c48e