|
@@ -68,7 +68,9 @@ public class Options {
|
|
|
} else if (repeat.equalsIgnoreCase("yearly")) {
|
|
} else if (repeat.equalsIgnoreCase("yearly")) {
|
|
|
interval = AlarmManager.INTERVAL_DAY*365;
|
|
interval = AlarmManager.INTERVAL_DAY*365;
|
|
|
} else {
|
|
} else {
|
|
|
- interval = Integer.getInteger(repeat, 0) * 60000;
|
|
|
|
|
|
|
+ try {
|
|
|
|
|
+ interval = Integer.parseInt(repeat) * 60000;
|
|
|
|
|
+ } catch (Exception e) {};
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
return this;
|
|
return this;
|
|
@@ -211,4 +213,4 @@ public class Options {
|
|
|
|
|
|
|
|
return icon;
|
|
return icon;
|
|
|
}
|
|
}
|
|
|
-}
|
|
|
|
|
|
|
+}
|