OSDN Git Service

Enable the alarm when preferences change and not when hitting done.
authorPatrick Scott <phanna@android.com>
Mon, 8 Mar 2010 15:27:52 +0000 (10:27 -0500)
committerPatrick Scott <phanna@android.com>
Mon, 8 Mar 2010 15:27:52 +0000 (10:27 -0500)
commit585d4e43e87b3cc95763bd4342a3997acb55de8b
tree35978b597cc450a585ba8a43ce2c4818a01f50a5
parent2f2ce735ef658f4e2b72fe9b0352fad9279e636d
Enable the alarm when preferences change and not when hitting done.

The original intent was to enable the alarm when hitting done after making edits
but this caused the alarm to always turn on even if the user turned the alarm
off and hit done.

Bug: 2441762
Change-Id: I9f37ec2477ddced26df1c1fb4444cd5e5121e7d5
src/com/android/deskclock/SetAlarm.java