summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorVal Doroshchuk <valentyn.doroshchuk@qt.io>2019-03-25 14:42:42 +0100
committerVaL Doroshchuk <valentyn.doroshchuk@qt.io>2019-05-03 12:48:44 +0000
commit6e6871ad398318d61840705de9d057d8eb7726f5 (patch)
tree777bcd7e6bf257445129eedcb3bef34d51190f2e /examples
parent21f752806077e05249f9c357f14e9f0294920ecb (diff)
Android: Don't postpone setting of camera's state
Currently if the application is inactive, the state is postponed to be set and processed when the app becomes active. This also postpones stateChanged() signal and saving the state value, while it should be set (but not processed) immediately as done in another backends. Added a fix to store the state and emit stateChanged regardless of activity of the application. When the application becames available, the state will be processed. In case of an error while opening the camera: - UnloadedState is emitted - CameraError - UnloadedStatus Change-Id: Ie376d29366168a6b15eccea884f385070f94fe35 Task-number: QTBUG-73582 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions