OSDN Git Service

Change default sort order to sort by alarm time.
authorPatrick Scott <phanna@android.com>
Tue, 3 Nov 2009 17:52:31 +0000 (12:52 -0500)
committerPatrick Scott <phanna@android.com>
Tue, 3 Nov 2009 17:53:15 +0000 (12:53 -0500)
Will make the same change to AlarmClock in mr2.

Bug: 2228476

src/com/android/deskclock/Alarm.java

index 13e4bd7..7d8c8a3 100644 (file)
@@ -126,7 +126,8 @@ public final class Alarm implements Parcelable {
         /**
          * The default sort order for this table
          */
-        public static final String DEFAULT_SORT_ORDER = _ID + " ASC";
+        public static final String DEFAULT_SORT_ORDER =
+                HOUR + ", " + MINUTES + " ASC";
 
         // Used when filtering enabled alarms.
         public static final String WHERE_ENABLED = ENABLED + "=1";