commit | 26b224dd3b4391dbbb8ee6ed35c40c431bdbec85 | [log] [tgz] |
---|---|---|
author | Alan Newberger <alann@google.com> | Tue Aug 26 18:18:48 2014 -0700 |
committer | Alan Newberger <alann@google.com> | Tue Aug 26 18:24:51 2014 -0700 |
tree | c4b38333e5c7752fbc35722b54cca8839d5454ff | |
parent | d225ea6074a58021013c8c063abb51eb80b1feb7 [diff] |
Protect video recording callback from activity/module pauses This CL should eliminate MediaRecorder start exceptions, which appear to be due to ending the camera or switching the module. Storage I/O could take a while during which pauses can occur, so we check for them and avoid starting video in that case. Bug: 16298718 Change-Id: I9abca815400e9ce545fed96f6e31cb792860a1d0