OSDN Git Service

Fix http://b/2305223
authorDaniel Sandler <dsandler@android.com>
Fri, 4 Dec 2009 19:20:18 +0000 (14:20 -0500)
committerDaniel Sandler <dsandler@android.com>
Fri, 4 Dec 2009 19:20:18 +0000 (14:20 -0500)
commitc98ba511cbc433951f787ca9e9bd4472c18e4ab8
tree0acb15eb8fb3d6315207b556f9a0ab35f78742f7
parent1f385956ce5ae6dbe9ede0b0a4869eeff007041d
Fix http://b/2305223

When placed into night mode (dim mode), the DeskClock must
restore full brightness any time the user returns to it from
another activity. There are two reasons for this:

1. The other activity won't be dim, so it's sort of jarring
   to return to an almost-black screen.

2. As indicated in bug 2305223, visiting another activity is
   a useful way to restore the display if it's so dark that
   you can't see it to find the nightmode toggle button
   (e.g., ambient lighting is very bright).
src/com/android/deskclock/DeskClock.java