Hello,
I am making a motion detector app that records when ever motion is detected and stops when no motion is detected. It would be perfect if I didn't have this problem where when ever i record and stop recording the screen flashes, therefore making an infinite loop of recordings unfortunately. However when it is not recording it works perfectly at detecting motion and knows when to record or not. I noticed this flash happening in the video recorder example too. Would anyone know a way to prevent this minor thing from happening?