Added dismiss now action to upcoming alarm notification

This commit is contained in:
Phillip Hsu
2016-06-06 14:04:06 -07:00
parent 24a9d5e2d6
commit 9441b5da10
3 changed files with 34 additions and 26 deletions
@@ -27,7 +27,7 @@ public class DurationUtils {
if (abbreviate) {
if (numHours == 0) {
if (numMins == 0) {
res = R.string.abbrev_less_than_one_minute; // TODO: verify formatArgs can be passed in but are ignored
res = R.string.abbrev_less_than_one_minute;
} else {
res = R.string.abbrev_minutes;
}
@@ -41,7 +41,7 @@ public class DurationUtils {
} else {
if (numHours == 0) {
if (numMins == 0) {
res = R.string.less_than_one_minute; // TODO: verify formatArgs can be passed in but are ignored
res = R.string.less_than_one_minute;
} else if (numMins == 1) {
res = R.string.minute;
} else {