Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
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:
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?
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...