OSDN Git Service
(root)
/
android-x86
/
packages-apps-DeskClock.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75e5015
)
Always enable the alarm when clicking done.
author
Patrick Scott
<phanna@android.com>
Fri, 9 Oct 2009 13:04:25 +0000
(09:04 -0400)
committer
Patrick Scott
<phanna@android.com>
Fri, 9 Oct 2009 13:04:25 +0000
(09:04 -0400)
Bug:
2173934
src/com/android/alarmclock/SetAlarm.java
patch
|
blob
|
history
diff --git
a/src/com/android/alarmclock/SetAlarm.java
b/src/com/android/alarmclock/SetAlarm.java
index
03533af
..
312cf92
100644
(file)
--- a/
src/com/android/alarmclock/SetAlarm.java
+++ b/
src/com/android/alarmclock/SetAlarm.java
@@
-137,6
+137,8
@@
public class SetAlarm extends PreferenceActivity
Button b = (Button) v.findViewById(R.id.alarm_save);
b.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
+ // Enable the alarm when clicking "Done"
+ mEnabled = true;
saveAlarm();
finish();
}