commit | 36e045a43d9b8949d9a219b84cf894cf21f8e98a | [log] [tgz] |
---|---|---|
author | Senpo Hu <senpo@google.com> | Mon Sep 29 18:49:10 2014 -0700 |
committer | Senpo Hu <senpo@google.com> | Mon Sep 29 18:49:10 2014 -0700 |
tree | 45b72521c36e6aee8d9093cbf304548c98808346 | |
parent | 2d3475ae1f045a2062119f352bec874cd78e9d3b [diff] |
Stability: call stopPreview() before switching off video module. If the preview is not stopped, the following camera operations posted by other modules such as "apply settings" will turn camera object in turmoil. The camera object could start throwing exception and eventually hang. Bug: 16300704 Bug: 17403384 Change-Id: Idd2360869d51b9dfc06309f8ac185a65add8d0c9