Merge "Fix a calendar info query to use a constant instead of a string"

This commit is contained in:
Erik Pasternak
2011-09-01 13:31:39 -07:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -15610,7 +15610,7 @@ package android.provider {
public static final class CalendarContract.Calendars implements android.provider.BaseColumns android.provider.CalendarContract.CalendarColumns android.provider.CalendarContract.SyncColumns {
field public static final java.lang.String CALENDAR_LOCATION = "calendar_location";
field public static final android.net.Uri CONTENT_URI;
field public static final java.lang.String DEFAULT_SORT_ORDER = "displayName";
field public static final java.lang.String DEFAULT_SORT_ORDER = "calendar_displayName";
field public static final java.lang.String NAME = "name";
}

View File

@@ -599,7 +599,7 @@ public final class CalendarContract {
/**
* The default sort order for this table
*/
public static final String DEFAULT_SORT_ORDER = "displayName";
public static final String DEFAULT_SORT_ORDER = CALENDAR_DISPLAY_NAME;
/**
* The name of the calendar. Column name.