From 55dac1281eb81b6bb255991a0455339b1dbfb3d0 Mon Sep 17 00:00:00 2001 From: Tom Taylor Date: Thu, 4 Jun 2009 09:28:12 -0700 Subject: [PATCH] Add "locked" column to sms and pdu tables. A user can lock an SMS message and prevent it from being auto-deleted. --- core/java/android/provider/Telephony.java | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/core/java/android/provider/Telephony.java b/core/java/android/provider/Telephony.java index 4078fa6d5a734..a2c253a20569c 100644 --- a/core/java/android/provider/Telephony.java +++ b/core/java/android/provider/Telephony.java @@ -146,7 +146,13 @@ public final class Telephony { *

Type: TEXT

*/ public static final String SERVICE_CENTER = "service_center"; - } + + /** + * Has the message been locked? + *

Type: INTEGER (boolean)

+ */ + public static final String LOCKED = "locked"; +} /** * Contains all text based SMS messages. @@ -1008,6 +1014,12 @@ public final class Telephony { *

Type: INTEGER

*/ public static final String THREAD_ID = "thread_id"; + + /** + * Has the message been locked? + *

Type: INTEGER (boolean)

+ */ + public static final String LOCKED = "locked"; } /**