summaryrefslogtreecommitdiffstats
path: root/core/java/android/provider
diff options
context:
space:
mode:
authorJohn Huang <jsh@android.com>2010-08-12 10:26:58 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-08-12 10:26:58 -0700
commitedfe20c4bd04716420a47516959d7c0e3e0064f6 (patch)
tree9bcb76c45a70db7927c0d4bb0739d1083fad6389 /core/java/android/provider
parent8aa244eab7ba834439cc919fd1f83d1e4ef49aff (diff)
parentc636b846160482fbebd9a3792d52b9ff864228f2 (diff)
downloadframeworks_base-edfe20c4bd04716420a47516959d7c0e3e0064f6.zip
frameworks_base-edfe20c4bd04716420a47516959d7c0e3e0064f6.tar.gz
frameworks_base-edfe20c4bd04716420a47516959d7c0e3e0064f6.tar.bz2
am c636b846: Merge "Enhance WspTypeDecoder to decode Content Type Parameters"
Merge commit 'c636b846160482fbebd9a3792d52b9ff864228f2' into gingerbread-plus-aosp * commit 'c636b846160482fbebd9a3792d52b9ff864228f2': Enhance WspTypeDecoder to decode Content Type Parameters
Diffstat (limited to 'core/java/android/provider')
-rw-r--r--core/java/android/provider/Telephony.java15
1 files changed, 12 insertions, 3 deletions
diff --git a/core/java/android/provider/Telephony.java b/core/java/android/provider/Telephony.java
index d271e93..fa5cd8b 100644
--- a/core/java/android/provider/Telephony.java
+++ b/core/java/android/provider/Telephony.java
@@ -562,15 +562,24 @@ public final class Telephony {
* values:</p>
*
* <ul>
- * <li><em>transactionId (Integer)</em> - The WAP transaction
- * ID</li>
+ * <li><em>transactionId (Integer)</em> - The WAP transaction ID</li>
* <li><em>pduType (Integer)</em> - The WAP PDU type</li>
* <li><em>header (byte[])</em> - The header of the message</li>
* <li><em>data (byte[])</em> - The data payload of the message</li>
+ * <li><em>contentTypeParameters (HashMap&lt;String,String&gt;)</em>
+ * - Any parameters associated with the content type
+ * (decoded from the WSP Content-Type header)</li>
* </ul>
*
* <p>If a BroadcastReceiver encounters an error while processing
* this intent it should set the result code appropriately.</p>
+ *
+ * <p>The contentTypeParameters extra value is map of content parameters keyed by
+ * their names.</p>
+ *
+ * <p>If any unassigned well-known parameters are encountered, the key of the map will
+ * be 'unassigned/0x...', where '...' is the hex value of the unassigned parameter. If
+ * a parameter has No-Value the value in the map will be null.</p>
*/
@SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
public static final String WAP_PUSH_RECEIVED_ACTION =
@@ -583,7 +592,7 @@ public final class Telephony {
*/
@SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
public static final String SIM_FULL_ACTION =
- "android.provider.Telephony.SIM_FULL";
+ "android.provider.Telephony.SIM_FULL";
/**
* Broadcast Action: An incoming SMS has been rejected by the