Skip to content

[Bug] Flashlight control broken on Android 17 (Pixel 10 Pro) - CameraManager Empty Camera ID #145

Description

@LacazeThomas

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:

  1. Open the FlashDim app on Android 17 (Pixel 10 Pro).
  2. Attempt to toggle the flashlight or move the brightness slider.
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions