Fall back to Camera1Enumerator on exceptions
If Camera2Enumerator.isSupported() throws, consider Camera2Enumerator to not be supported, log the Throwable, and use Camera1Enumerator instead. Before this patch, an exception thrown by Camera2Enumerator.isSupported would crash any Signal call (even if video was not enabled). Fixes #6537 // FREEBIEpull/1/head
parent
2e8250f25e
commit
1c94137f7a
Loading…
Reference in New Issue