Update to avoid deprecated Device methods for checking cameras