| commit | 88642620223cadcbf8d608de57816c381d844140 | [log] [tgz] |
|---|---|---|
| author | Norman Breau <norman@breautek.com> | Thu Mar 20 16:13:02 2025 -0300 |
| committer | GitHub <noreply@github.com> | Thu Mar 20 16:13:02 2025 -0300 |
| tree | 6ab80ef2329e0a4e42c1f64da2c91e542114604e | |
| parent | b002b48735477136bc748c17221b9ec97d38d221 [diff] |
fix(android): Error propagation when no Camera application is available (#926)
diff --git a/src/android/CameraLauncher.java b/src/android/CameraLauncher.java index aea896e..f110491 100644 --- a/src/android/CameraLauncher.java +++ b/src/android/CameraLauncher.java
@@ -332,6 +332,7 @@ 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."); } } }