summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/notification/ZenModeScheduleRuleSettings.java
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2015-04-09 23:57:23 -0400
committerJohn Spurlock <jspurlock@google.com>2015-04-10 00:02:32 -0400
commitd333a7d9f10500ec45377e099955031017d6a158 (patch)
tree8534a44554e32965472b38110fc4be6020cb7021 /src/com/android/settings/notification/ZenModeScheduleRuleSettings.java
parent45fa140b8c6846b4546fdeabebf989ae9102cebb (diff)
downloadpackages_apps_Settings-d333a7d9f10500ec45377e099955031017d6a158.zip
packages_apps_Settings-d333a7d9f10500ec45377e099955031017d6a158.tar.gz
packages_apps_Settings-d333a7d9f10500ec45377e099955031017d6a158.tar.bz2
Settings: Improve automatic rule summary when enabled.
Bug: 20064962 Change-Id: I139679def84f0ba3ea859399499a5657fd85e763
Diffstat (limited to 'src/com/android/settings/notification/ZenModeScheduleRuleSettings.java')
-rw-r--r--src/com/android/settings/notification/ZenModeScheduleRuleSettings.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/settings/notification/ZenModeScheduleRuleSettings.java b/src/com/android/settings/notification/ZenModeScheduleRuleSettings.java
index 7bec3c4..f0f0294 100644
--- a/src/com/android/settings/notification/ZenModeScheduleRuleSettings.java
+++ b/src/com/android/settings/notification/ZenModeScheduleRuleSettings.java
@@ -209,8 +209,8 @@ public class ZenModeScheduleRuleSettings extends ZenModeSettingsBase
return true;
}
if (DEBUG) Log.d(TAG, "onPrefChange end h=" + hour + " m=" + minute);
- mSchedule.startHour = hour;
- mSchedule.startMinute = minute;
+ mSchedule.endHour = hour;
+ mSchedule.endMinute = minute;
mRule.conditionId = ZenModeConfig.toScheduleConditionId(mSchedule);
mRule.condition = null;
mRule.snoozing = false;