Files
frameworks_base/core/java/android
Dmitri Plotnikov de71cb3b6f ContactsContract: Adding joined columns to the Data class definition.
The rationale is this. Since all these joined columns are currently on
different classes, we routinely see code like this:

private static final String[] PROJECTION_PHONE = {
   Data._ID, // 0
   RawContacts.CONTACT_ID, // 1
   Phone.TYPE, // 2
   Phone.NUMBER, // 3
   Phone.LABEL, // 4
   Contacts.DISPLAY_NAME, // 5
};

The most noxious line is RawContacts.CONTACT_ID

After this change, the above declaration changes to:

private static final String[] PROJECTION_PHONE = {
   Data._ID, // 0
   Data.CONTACT_ID, // 1
   Phone.TYPE, // 2
   Phone.NUMBER, // 3
   Phone.LABEL, // 4
   Data.DISPLAY_NAME, // 5
};

Change-Id: I03bfc700e4c8c58a175bc885bf7b807d7fed0744
2009-09-18 15:54:26 -07:00
..
2009-09-17 18:46:22 -07:00
2009-09-16 17:05:15 -07:00
2009-09-17 09:44:43 -07:00
2009-09-17 11:21:47 -04:00
2009-09-11 17:15:15 -07:00
2009-09-17 13:53:37 -04:00
2009-09-18 14:22:01 -04:00