OSDN Git Service

Fix some copy-paste errors and acquire locks before launching the Activity.
authorPatrick Scott <phanna@android.com>
Wed, 19 Aug 2009 20:19:15 +0000 (16:19 -0400)
committerPatrick Scott <phanna@android.com>
Wed, 19 Aug 2009 20:32:48 +0000 (16:32 -0400)
commit67430f3d25a103cf87ba72d4034e703107b715ee
tree264a6f23f74f2901bb1dbff4533162a1a41712d2
parent4b7cc175917adc2ac20ecf5a63efad3273bc2059
Fix some copy-paste errors and acquire locks before launching the Activity.

Acquiring the locks before launching the Activity prevents some strange pausing
behavior in ActivityManager. If the screen is off, the ActivityManager attempts
to pause the Activity before resuming it.
src/com/android/alarmclock/AlarmAlert.java
src/com/android/alarmclock/AlarmReceiver.java