Disable screen brightness changes due to ambient light

Hello everyone,

my app is in landscape mode and users tend to have their fingers on top of the front-facing camera when they want to use the side controls. This in turn dims the screen, if the user has the feature enabled, which automatically changes the brightness based on the amount of light registered by the front-facing camera.

I searched the forums but couldn’t find an answered thread to this question. The only related one is the idle timer, but this doesn’t solve this problem.

Thanks for any help regarding this!

Best regards,

Martin