Why do you have to open the camera in order to use the flashlight on an android phone? The button to turn the flashlight on is in the quick settings panel which can also be opened from the lock screen.
How I miss the Moto X 2014, probably my favorite phone of all time.