Merge "Add part ID reuse to API contract"

am: d49a6c86f4

Change-Id: I6bddd19ea31e012f340e62e035ca7a0867eb239e
This commit is contained in:
Leland Miller
2019-01-23 20:47:39 -08:00
committed by android-build-merger
2 changed files with 10 additions and 0 deletions

View File

@@ -37368,6 +37368,7 @@ package android.provider {
field public static final String CONTENT_ID = "cid";
field public static final String CONTENT_LOCATION = "cl";
field public static final String CONTENT_TYPE = "ct";
field public static final android.net.Uri CONTENT_URI;
field public static final String CT_START = "ctt_s";
field public static final String CT_TYPE = "ctt_t";
field public static final String FILENAME = "fn";

View File

@@ -2311,6 +2311,9 @@ public final class Telephony {
/**
* Contains message parts.
*
* To avoid issues where applications might cache a part ID, the ID of a deleted part must
* not be reused to point at a new part.
*/
public static final class Part implements BaseColumns {
@@ -2321,6 +2324,12 @@ public final class Telephony {
private Part() {
}
/**
* The {@code content://} style URL for this table. Can be appended with a part ID to
* address individual parts.
*/
public static final Uri CONTENT_URI = Uri.withAppendedPath(Mms.CONTENT_URI, "part");
/**
* The identifier of the message which this part belongs to.
* <P>Type: INTEGER</P>