Christian Strømme c953ef3910 Android: Don't call restartViewfinder() for audio only recordings.
Calling restartViewfinder() would try to access m_cameraSession without
checking if it was valid. This change adds guards around the calls to
restartViewfinder(), and one in the function itself.

Task-number: QTBUG-50282
Change-Id: I1f2b4d2b2342bf2dc2b7f28a7bcd00e08a0edb44
Reviewed-by: jian liang <jianliang79@gmail.com>
Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
2016-01-11 14:17:22 +00:00
2015-09-15 11:33:17 +00:00
2015-06-29 10:47:53 +02:00
2012-09-03 19:53:28 +02:00
2015-02-12 10:27:47 +00:00
2015-08-13 15:07:55 +02:00
2015-08-13 15:07:55 +02:00
2015-02-12 10:27:47 +00:00
Description
No description provided
17 MiB
Languages
C++ 90.5%
Objective-C++ 5.8%
QMake 1%
Objective-C 0.9%
QML 0.5%
Other 1%