Tsvika
unread,Oct 7, 2013, 5:40:42 PM10/7/13You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
From what I know,
In FxOS,
If we have the ambient light sensor in the device, the screen_manager.js can add an event listener named "devicelight" to do the automatic brightness.
Once the light sensor reports the value has changed,
the code will finally go to a function "transitionBrightness".
To ensure my understanding is correct, this function will keep looping until the difference between the target brightness and screen brightness is smaller than delta. Otherwise, the system will keep adjusting the brightness in this function.
Is my understanding correct?