summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author kmccormick@google.com <kmccormick@google.com> 2012-11-12 15:02:55 -0800
committer Android Git Automerger <android-git-automerger@android.com> 2012-11-12 15:02:55 -0800
commit76b1be8b78bbb1bdfaf78a848c20b77cb7b0dedf (patch)
treebaf86655a26e50c0847d9c8a7e218ed1df1ef2f6
parent0edd4d058e6bf495566961bc52a144cc8a5c21af (diff)
parent39cc8f8079412f721c5003cd2d0cb07366b77da4 (diff)
am 39cc8f80: am 4233c939: Merge "Doc Update: param name change" into jb-dev-docs
* commit '39cc8f8079412f721c5003cd2d0cb07366b77da4': Doc Update: param name change
-rw-r--r--docs/html/guide/google/gcm/gcm.jd12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/html/guide/google/gcm/gcm.jd b/docs/html/guide/google/gcm/gcm.jd
index f6fd697a689c..5d3ea563ca97 100644
--- a/docs/html/guide/google/gcm/gcm.jd
+++ b/docs/html/guide/google/gcm/gcm.jd
@@ -674,8 +674,8 @@ sent. Optional. The default value is <code>false</code>, and must be a JSON bool
<td>How long (in seconds) the message should be kept on GCM storage if the device is offline. Optional (default time-to-live is 4 weeks, and must be set as a JSON number).</td>
</tr>
<tr>
- <td><code>category</code></td>
- <td>A string containing the package name of your application. When set, messages will only be sent to registration IDs that match the category. Optional.
+ <td><code>restricted_package_name</code></td>
+ <td>A string containing the package name of your application. When set, messages will only be sent to registration IDs that match the package name. Optional.
</td>
</tr>
<tr>
@@ -713,7 +713,7 @@ sent. Optional. The default value is <code>false</code>, and must be a JSON bool
<td>Same as JSON (see previous table). Optional.</td>
</tr>
<tr>
- <td><code>category</code></td>
+ <td><code>restricted_package_name</code></td>
<td>Same as JSON (see previous table). Optional.
</td>
</tr>
@@ -962,11 +962,11 @@ Happens when the HTTP status code is 500, or when the <code>error</code> field o
object in the results array is <code>InternalServerError</code>.
</dd>
-<dt id="invalid_category"><strong>Invalid Category</strong></dt>
+<dt id="restricted_package_name"><strong>Invalid Package Name</strong></dt>
<dd>
-A message was addressed to a registration ID whose category did not match the value passed in the request. Happens when error code is
-<code>InvalidCategory</code>.
+A message was addressed to a registration ID whose package name did not match the value passed in the request. Happens when error code is
+<code>InvalidPackageName</code>.
</dd>