diff options
Diffstat (limited to 'telephony/java/android/provider/Telephony.java')
-rw-r--r-- | telephony/java/android/provider/Telephony.java | 65 |
1 files changed, 64 insertions, 1 deletions
diff --git a/telephony/java/android/provider/Telephony.java b/telephony/java/android/provider/Telephony.java index efea81763b9f..b3e1ffa158d9 100644 --- a/telephony/java/android/provider/Telephony.java +++ b/telephony/java/android/provider/Telephony.java @@ -277,6 +277,70 @@ public final class Telephony { } /** + * Columns in sms_changes table. + * @hide + */ + public interface TextBasedSmsChangesColumns { + /** + * The {@code content://} style URL for this table. + * @hide + */ + public static final Uri CONTENT_URI = Uri.parse("content://sms-changes"); + + /** + * Primary key. + * <P>Type: INTEGER (long)</P> + * @hide + */ + public static final String ID = "_id"; + + /** + * Triggers on sms table create a row in this table for each update/delete. + * This column is the "_id" of the row from sms table that was updated/deleted. + * <P>Type: INTEGER (long)</P> + * @hide + */ + public static final String ORIG_ROW_ID = "orig_rowid"; + + /** + * Triggers on sms table create a row in this table for each update/delete. + * This column is the "sub_id" of the row from sms table that was updated/deleted. + * @hide + * <P>Type: INTEGER (long)</P> + */ + public static final String SUB_ID = "sub_id"; + + /** + * The type of operation that created this row. + * {@link #TYPE_UPDATE} = update op + * {@link #TYPE_DELETE} = delete op + * @hide + * <P>Type: INTEGER (long)</P> + */ + public static final String TYPE = "type"; + + /** + * One of the possible values for the above column "type". Indicates it is an update op. + * @hide + */ + public static final int TYPE_UPDATE = 0; + + /** + * One of the possible values for the above column "type". Indicates it is a delete op. + * @hide + */ + public static final int TYPE_DELETE = 1; + + /** + * This column contains a non-null value only if the operation on sms table is an update op + * and the column "read" is changed by the update op. + * <P>Type: INTEGER (boolean)</P> + * @hide + */ + public static final String NEW_READ_STATUS = "new_read_status"; + } + + /** * Contains all text-based SMS messages. */ public static final class Sms implements BaseColumns, TextBasedSmsColumns { @@ -3509,7 +3573,6 @@ public final class Telephony { /** * Contains carrier identification information for the current subscriptions. - * @see SubscriptionManager#getActiveSubscriptionIdList() */ public static final class CarrierId implements BaseColumns { /** |