Android: Replace QtCamera2 boolean flags with a state enum


QtCamera2 backend used booleans mIsTakingStillPhoto and mIsStarted to
express state. These could express a still photo being taken while not
started.

Replace the booleans with a single State (Idle, Started, Capturing).
This is useful for later changes to the camera that complicate states
even more.

Pick-to: 6.12
Change-Id: I224010ab9c68d09de760786d4900ee8f1948f5a2
Reviewed-by: Nils Petter Skålerud <nils.petter.skalerud@qt.io>
commit7a22046a7e3817030c18308453021a7051237d0c
parent1b44f7034a5f8524862a3f164f86986c64cc116c
authorMikko Hallamaa <mikko.hallamaa@qt.io>
committerMikko Hallamaa <mikko.hallamaa@qt.io>
commit timeFri, 9 Oct 2026 07:11:57 +0000