Android: fixes some issues with JCamera.
authorYoann Lopes <yoann.lopes@digia.com>
Wed, 15 Jan 2014 17:35:07 +0000 (18:35 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 16 Jan 2014 16:24:56 +0000 (17:24 +0100)
commit30078eeee13b60af65deb14a6ac1d6deca53003c
tree7acaca5ea6947eb60da5134ca377720ff31adaed
parent15025088eac53d97705191d06b13868d62977155
Android: fixes some issues with JCamera.

- Quit the worker thread only when the worker is deleted. This makes
sure all events are processed before terminating the worker.
- Correctly cache the preview size even when it's an invalid one.

Task-number: QTBUG-36204
Change-Id: I76055984e8ece3f7f40dba7dd89d28a4faa1e72e
Reviewed-by: Denis Kormalev <dkormalev@ics.com>
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
src/plugins/android/src/wrappers/jcamera.cpp