fix(android): Error propagation when no Camera application is available (#926)

This commit is contained in:
Norman Breau 2025-03-20 16:13:02 -03:00 committed by GitHub
parent b002b48735
commit 8864262022
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -332,6 +332,7 @@ public class CameraLauncher extends CordovaPlugin implements MediaScannerConnect
else
{
LOG.d(LOG_TAG, "Error: You don't have a default camera. Your device may not be CTS complaint.");
throw new IllegalStateException("No camera application available.");
}
}
}