Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,563 Members 45,219 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Auto Backlight (settings) [Hydrogen ROM]

Tip us?
 
flv1333
Old
(Last edited by flv1333; 27th April 2012 at 11:40 AM.)
#1  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Mar 2010
Lightbulb [Q] Auto Backlight (settings) [Hydrogen ROM]

Hi Guys,

Im have a SGS2 running 4.0.4 Hydrogen rom (found Here)

I am wondering about the Automatic backlight... the reaction time is way to slow for my taste. Seems like the sensor does not react quick enough.

Is there any way to change it so it reacts faster?

EDIT:

So I found what need to be changed in order to have a faster reaction from the sensor!!!

Code:
Select Code
private static final int LIGHT_SENSOR_DELAY = XXXX;    //[ms]
This can apparently be found in the "frameworks/base/services/java/com/android/server/PowerManagerService.java class."

My new question is.... how can I access this to change the value?

Could a DEV please help me out?

Many Thanks!
 
flv1333
Old
#2  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Mar 2010
Hmmm is it even possible to change this in a ROM which already has been installed?
 
flv1333
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Mar 2010
*Bump*

Is there really no one who can help?
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes