Here we are making sure to display an error message to the user in case there is no camera device available at all. Before this change the Camera app does start showing an endlessly spinning spinner which leaves the user under the impression of the app not working correctly.
Tested this in a VM, which shows the error message after 2s - and on bare metal where the camera is still initialized correctly.
Here we are making sure to display an error message to the user in case there is no camera device available at all. Before this change the Camera app does start showing an endlessly spinning spinner which leaves the user under the impression of the app not working correctly.
Tested this in a VM, which shows the error message after 2s - and on bare metal where the camera is still initialized correctly.