Yesterday, my phone was just charging while idling, locked, and screen turned off. Suddenly, my camera turned on - I knew it turned on because it suddenly flipped and faced the front for a second, and then turned off, and flipped backwards into the default position again. I was stunned because it never happened with the locked idling phone before, and I knew something's wrong. I am writing you to ask you, if there is a log, or any way to find out which processes have access the camera in the last hours. I don't have any custom apps, only standard stuff from PlayStore. I didn't install anything new for the last few weeks, or a month, except Twitter. I installed Twitter that day earlier, and that was the only new app I had since forever.
I realized about the long screenshot a minute after posting, and then I tried editing, and inserting a new long screenshot instead, but I literally cannot remove pictures while editing here, no matter how I try, so there's that. I checked my call logs and I didn't have any calls. Also, apps don't enable camera automatically upon incoming ring stage. That's a very interesting advice. Thank you. Does anyone know where I can find the camera access logs in the system? Thank you!