OSDN Git Service

Fix http://b/2305223 (DO NOT MERGE)
authorDaniel Sandler <dsandler@google.com>
Fri, 4 Dec 2009 19:47:03 +0000 (14:47 -0500)
committerDaniel Sandler <dsandler@google.com>
Fri, 4 Dec 2009 19:47:03 +0000 (14:47 -0500)
commitc1d449d071703d3c2b8c4d9961e812b4632b5c90
treee58d72ec61a5317bca8d98eb80d8f41857b81e9a
parent630cb4aa77ef52c15295b0ffb4b9ec966b516fa7
Fix http://b/2305223 (DO NOT MERGE)

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