Describe the bug
The application opens and stays responsive, but it is impossible to toggle or adjust the flashlight. The controls have no effect. The underlying logs show that CameraManager receives illegal arguments, specifically an empty camera ID, preventing the app from binding to the device's hardware.
To Reproduce
Steps to reproduce the behavior:
- Open the FlashDim app on Android 17 (Pixel 10 Pro).
- Attempt to toggle the flashlight or move the brightness slider.
- Observe that nothing happens (no light turns on, but the app does not crash).
Logcat / Stacktrace
Exception occured
CameraManager received illegal arguments, probably empty camera id
Describe the bug
The application opens and stays responsive, but it is impossible to toggle or adjust the flashlight. The controls have no effect. The underlying logs show that
CameraManagerreceives illegal arguments, specifically an empty camera ID, preventing the app from binding to the device's hardware.To Reproduce
Steps to reproduce the behavior:
Logcat / Stacktrace