Add sub_id column in SMS and MMS tables.
sub_id column is added in following tables: - canonical_addresses - part - threads - addr - words Bug: 267435875 Test: Manually sending/receiving SMS/MMS, atest com.android.providers.telephony.SmsProviderTest, atest com.android.providers.telephony.MmsProviderTest, atest com.android.providers.telephony.ProviderUtilTest, atest CtsTelephonyProviderTestCases, atest CtsTelephonyTestCases Change-Id: I1201a2b2107c096890552e9b270aa7a2e7c6fca8
This commit is contained in:
@@ -2051,6 +2051,14 @@ public final class Telephony {
|
||||
* <P>Type: TEXT</P>
|
||||
*/
|
||||
public static final String ADDRESS = "address";
|
||||
|
||||
/**
|
||||
* The subscription to which the message belongs to. Its value will be less than 0
|
||||
* if the sub id cannot be determined.
|
||||
* <p>Type: INTEGER (long) </p>
|
||||
* @hide
|
||||
*/
|
||||
public static final String SUBSCRIPTION_ID = "sub_id";
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2119,6 +2127,14 @@ public final class Telephony {
|
||||
* <P>Type: INTEGER (boolean)</P>
|
||||
*/
|
||||
public static final String ARCHIVED = "archived";
|
||||
|
||||
/**
|
||||
* The subscription to which the message belongs to. Its value will be less than 0
|
||||
* if the sub id cannot be determined.
|
||||
* <p>Type: INTEGER (long) </p>
|
||||
* @hide
|
||||
*/
|
||||
public static final String SUBSCRIPTION_ID = "sub_id";
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2476,6 +2492,14 @@ public final class Telephony {
|
||||
*/
|
||||
public static final String CHARSET = "charset";
|
||||
|
||||
/**
|
||||
* The subscription to which the message belongs to. Its value will be less than 0
|
||||
* if the sub id cannot be determined.
|
||||
* <p>Type: INTEGER (long) </p>
|
||||
* @hide
|
||||
*/
|
||||
public static final String SUBSCRIPTION_ID = "sub_id";
|
||||
|
||||
/**
|
||||
* Generates a Addr {@link Uri} for message, used to perform Addr table operation
|
||||
* for mms.
|
||||
@@ -2596,6 +2620,14 @@ public final class Telephony {
|
||||
*/
|
||||
public static final String TEXT = "text";
|
||||
|
||||
/**
|
||||
* The subscription to which the message belongs to. Its value will be less than 0
|
||||
* if the sub id cannot be determined.
|
||||
* <p>Type: INTEGER (long) </p>
|
||||
* @hide
|
||||
*/
|
||||
public static final String SUBSCRIPTION_ID = "sub_id";
|
||||
|
||||
/**
|
||||
* Generates a Part {@link Uri} for message, used to perform Part table operation
|
||||
* for mms.
|
||||
@@ -2635,6 +2667,14 @@ public final class Telephony {
|
||||
* <P>Type: INTEGER (long)</P>
|
||||
*/
|
||||
public static final String SENT_TIME = "sent_time";
|
||||
|
||||
/**
|
||||
* The subscription to which the message belongs to. Its value will be less than 0
|
||||
* if the sub id cannot be determined.
|
||||
* <p>Type: INTEGER (long) </p>
|
||||
* @hide
|
||||
*/
|
||||
public static final String SUBSCRIPTION_ID = "sub_id";
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2868,6 +2908,14 @@ public final class Telephony {
|
||||
* <P>Type: TEXT</P>
|
||||
*/
|
||||
public static final String INDEXED_TEXT = "index_text";
|
||||
|
||||
/**
|
||||
* The subscription to which the message belongs to. Its value will be less than 0
|
||||
* if the sub id cannot be determined.
|
||||
* <p>Type: INTEGER (long) </p>
|
||||
* @hide
|
||||
*/
|
||||
public static final String SUBSCRIPTION_ID = "sub_id";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user