Another (maybe completely unrelated but yet to do with camera) observation:
from time to time I felt that my XA2 gets warm even not heavily used, just some browsing and mails open
did not really bother …
But this morning it got warm right after switching on
it was switched off and charged over night
I did my normal mail and browser check, felt it getting warm and shut down apps
then a few hours later I heard this well known sound, checked battery and it was down to 10% after maybe 5h
I checked with top and found the android process consuming 24% CPU
cameras+ 3297 21.1 0.6 153868 16444 ? Sl 01:46 160:33 /vendor/bin/hw/android.hardware.camera.provider@2.4-service
I opened camera app --> black window
switched to selfie mode and back --> cam working
checked with top, normal
temperature went down soon