diff options
author | Tammo Spalink <tammo@google.com> | 2009-09-02 14:25:38 +0800 |
---|---|---|
committer | Tammo Spalink <tammo@google.com> | 2009-09-02 14:25:38 +0800 |
commit | 7e207afd497f8822ca34babe1d9cd1f6d5402fad (patch) | |
tree | a386847cfc4db031b288faa640f32d9656c0d578 /core | |
parent | c937b5ce4ff2f39fd9c60f718f98550a932b62f0 (diff) | |
download | frameworks_base-7e207afd497f8822ca34babe1d9cd1f6d5402fad.zip frameworks_base-7e207afd497f8822ca34babe1d9cd1f6d5402fad.tar.gz frameworks_base-7e207afd497f8822ca34babe1d9cd1f6d5402fad.tar.bz2 |
Reject (NAK) CDMA SMS with unknown teleservice ids.
Addresses issue:
http://buganizer/issue?id=2066191
Change-Id: I56124379534bf19f128b6228749c7ee2ef455fed
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/provider/Telephony.java | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/core/java/android/provider/Telephony.java b/core/java/android/provider/Telephony.java index 4584382..c637e02 100644 --- a/core/java/android/provider/Telephony.java +++ b/core/java/android/provider/Telephony.java @@ -490,6 +490,13 @@ public final class Telephony { public static final int RESULT_SMS_OUT_OF_MEMORY = 3; /** + * Set by BroadcastReceiver. Indicates the message, while + * possibly valid, is of a format or encoding that is not + * supported. + */ + public static final int RESULT_SMS_UNSUPPORTED = 4; + + /** * Broadcast Action: A new text based SMS message has been received * by the device. The intent will have the following extra * values:</p> @@ -1696,7 +1703,3 @@ public final class Telephony { public static final String EXTRA_SPN = "spn"; } } - - - - |