Hi,
       I've modified liblights library to correctly point to the sysfs
file that controls my LCD's backlight brightness. It works correctly
from the kernel side.

My problem is when I move brightness slides in the default android
system brightness settings control, as long as my finger remains
pressed on the slider and move it, the brightness changes, but the
moment I release my finger, the brightness reverts back to the old
value.

I added some debug code to liblights, see what was happening and
discovered this. For example, if the original brightness value was 40,
if I move it all the way up to 100, and release my finger, the values
start automatically rolling back to 40.

If I exit the brightness screen by pressing the OK button, and go back
into the brightness setting the second time, the brightness value gets
set to 100.

It therefore takes an exit and a re-entry to make the brightness
change effective. Why is this the case?

Elvis Dowson

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to