Merge change 20660
* changes: add the deleted flag to the Groups table
This commit is contained in:
@@ -1401,6 +1401,17 @@ public final class ContactsContract {
|
||||
* Type: INTEGER
|
||||
*/
|
||||
public static final String GROUP_VISIBLE = "group_visible";
|
||||
|
||||
/**
|
||||
* The "deleted" flag: "0" by default, "1" if the row has been marked
|
||||
* for deletion. When {@link android.content.ContentResolver#delete} is
|
||||
* called on a raw contact, it is marked for deletion and removed from its
|
||||
* aggregate contact. The sync adaptor deletes the raw contact on the server and
|
||||
* then calls ContactResolver.delete once more, this time passing the
|
||||
* {@link RawContacts#DELETE_PERMANENTLY} query parameter to finalize the data removal.
|
||||
* <P>Type: INTEGER</P>
|
||||
*/
|
||||
public static final String DELETED = "deleted";
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1434,6 +1445,14 @@ public final class ContactsContract {
|
||||
* The MIME type of a single group.
|
||||
*/
|
||||
public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/group";
|
||||
|
||||
/**
|
||||
* Query parameter that can be passed with the {@link #CONTENT_URI} URI
|
||||
* to the {@link android.content.ContentResolver#delete} method to
|
||||
* indicate that the raw contact can be deleted physically, rather than
|
||||
* merely marked as deleted.
|
||||
*/
|
||||
public static final String DELETE_PERMANENTLY = "delete_permanently";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user