OSDN Git Service

Use new window manager flag for turning on the screen.
authorDianne Hackborn <hackbod@google.com>
Wed, 16 Sep 2009 05:58:50 +0000 (22:58 -0700)
committerDianne Hackborn <hackbod@google.com>
Wed, 16 Sep 2009 05:58:50 +0000 (22:58 -0700)
commit53205356eb422db2f3460425053c5fe4df8ceeda
tree008b5b4f4f1878f98138cfdb20d9289a21477d1c
parentcf7307401797b159ca32f85e7cf38d18cececd0d
Use new window manager flag for turning on the screen.

This allows the alert to no longer deal with a full wake lock itself,
and allows the window manager to take care of not turning it on until
the activity's window is actually displayed.

Change-Id: I2c3529c3d12a5a9c9add71636ce958d3205832e8
src/com/android/alarmclock/AlarmAlert.java
src/com/android/alarmclock/AlarmAlertWakeLock.java
src/com/android/alarmclock/AlarmReceiver.java