Closed salihmarangoz closed 11 months ago
Does the brightness change at all when the slider is moved?
yes, it changes.
correction: it doesn't maximize the brightness but increases suddenly (to a mid-level brightness) when the slider value is minimized (on the leftmost side)
Could you film the device?
What is your device model? Do you have a custom rom installed?
EDIT: My bad. You already posted the model.
The thing is, it seems to me that this is a device issue and not necessarily of the app (whilst I could programmatically counter for it). It seems that your device takes the screenTimeout value of 0.0 as not overriding. However, the value of 0.0 should be taken as minimum and -1.0 as not overriding. I would prefer that the issue is fixed with the OS developers (if possible) rather than in the app, as other people would then not be able to achieve the actual minimum or there would have to be a field somewhere in the app to set the minimum value.
You are right. It is just a stupid bug... (also here: https://gitlab.com/LineageOS/issues/android/-/issues/5021)
So the bug is out there and since it is not a significant bug probably it will not be fixed by the developers. I think it would be best to check if the minimum value is equal to zero, and then add a small value to workaround this bug.
Apps cannot check the maximum and minimum values of the device and it would therefore require that the minimum value of the slider would be set higher for all users. I am sorry to say, but I consider that to be an issue of the LineageOS port and therefore out of the scope of this project.
Brightness of my phone's screen goes maximum with the slider's minimum value.
model: xiaomi mi a1