OSDN Git Service

Add ambient light ring buffer for initial data gathering period.
authorMichael Wright <michaelwr@google.com>
Fri, 22 Apr 2016 05:03:09 +0000 (01:03 -0400)
committerMichael Wright <michaelwr@google.com>
Fri, 22 Apr 2016 17:17:51 +0000 (13:17 -0400)
commit103fb78ac1b91874f8b90cc5a165e6f0502179c4
tree794779b05f28b365c991690342300c1b6304ca74
parent8891ae1f7f69a1d1b203477bea01674c98af1141
Add ambient light ring buffer for initial data gathering period.

We're seeing reports of the display being too dim at initial wake up.
Saving the buffer for this initial period lets determine whether this
is a calculation error or something wrong with the sensor readings.

Bug: 27951906
Change-Id: I96b5dd0772de056c3c5e54d59c13d1a3d902d343
services/core/java/com/android/server/display/AutomaticBrightnessController.java