Scheduling alarm via AlarmUtils no longer shows Toast confirmation for you

This commit is contained in:
Phillip Hsu
2016-07-09 23:46:05 -07:00
parent 4436d5852a
commit 08e12cd14f
7 changed files with 173 additions and 54 deletions
@@ -64,6 +64,11 @@ public class AlarmDatabaseHelper extends SQLiteOpenHelper {
// First sort by ring time in ascending order (smaller values first),
// then break ties by sorting by id in ascending order.
// TODO: Consider changing the sort order to hour ASC, minutes ASC, enabled DESC. Then, we can
// delete the COLUMN_RING_TIME_MILLIS.
// As defined now, the ordering can be confusing; some examples are:
// * If there are multiple single-use alarms in the list, and one of them is snoozed, then on the
// next cursor load, this alarm will be reordered to the very bottom
private static final String SORT_ORDER =
COLUMN_RING_TIME_MILLIS + " ASC, " + COLUMN_ID + " ASC";