Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You cannot change the automatic brightness change delay in DisplayManager, nor can you change the curve. You can install one of the market applications which control the brightness and give you more control on how it is done. Check here: <a href="https://play.google.com/store/search?q=auto+brightness&amp;c=apps" rel="nofollow">https://play.google.com/store/search?q=auto+brightness&amp;c=apps</a></p> <p>From here: <a href="http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.3_r1/com/android/server/PowerManagerService.java#PowerManagerService.getAutoBrightnessValue%28int%2Cint%5B%5D%29" rel="nofollow">http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.3_r1/com/android/server/PowerManagerService.java#PowerManagerService.getAutoBrightnessValue%28int%2Cint%5B%5D%29</a></p> <pre><code>SensorEventListener mLightListener = new SensorEventListener() { 2971 public void More ...onSensorChanged(SensorEvent event) { 2972 synchronized (mLocks) { 2973 // ignore light sensor while screen is turning off 2974 if (isScreenTurningOffLocked()) { 2975 return; 2976 } 2977 2978 int value = (int)event.values[0]; 2979 long milliseconds = SystemClock.elapsedRealtime(); 2980 if (mDebugLightSensor) { 2981 Slog.d(TAG, "onSensorChanged: light value: " + value); 2982 } 2983 mHandler.removeCallbacks(mAutoBrightnessTask); 2984 if (mLightSensorValue != value) { 2985 if (mLightSensorValue == -1 || 2986 milliseconds &lt; mLastScreenOnTime + mLightSensorWarmupTime) { 2987 // process the value immediately if screen has just turned on 2988 lightSensorChangedLocked(value); 2989 } else { 2990 // delay processing to debounce the sensor 2991 mLightSensorPendingValue = value; 2992 mHandler.postDelayed(mAutoBrightnessTask, LIGHT_SENSOR_DELAY); 2993 } 2994 } else { 2995 mLightSensorPendingValue = -1; 2996 } 2997 } 2998 } 2999 3000 public void More ...onAccuracyChanged(Sensor sensor, int accuracy) { 3001 // ignore 3002 } 3003 }; </code></pre> <p>As you can see, LIGHT_SENSOR_DELAY is a</p> <pre><code>private static final int LIGHT_SENSOR_DELAY = 2000; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload