diff --git a/core/java/android/provider/Telephony.java b/core/java/android/provider/Telephony.java index d2f9ff01ca985..59b945c9c9a4f 100644 --- a/core/java/android/provider/Telephony.java +++ b/core/java/android/provider/Telephony.java @@ -2051,6 +2051,14 @@ public final class Telephony { *
Type: TEXT
*/ 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. + *Type: INTEGER (long)
+ * @hide + */ + public static final String SUBSCRIPTION_ID = "sub_id"; } /** @@ -2119,6 +2127,14 @@ public final class Telephony { *Type: INTEGER (boolean)
*/ 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. + *Type: INTEGER (long)
+ * @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. + *Type: INTEGER (long)
+ * @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. + *Type: INTEGER (long)
+ * @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 { *Type: INTEGER (long)
*/ 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. + *Type: INTEGER (long)
+ * @hide + */ + public static final String SUBSCRIPTION_ID = "sub_id"; } /** @@ -2868,6 +2908,14 @@ public final class Telephony { *Type: TEXT
*/ 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. + *Type: INTEGER (long)
+ * @hide + */ + public static final String SUBSCRIPTION_ID = "sub_id"; } }