diff --git a/docs/html/guide/google/gcm/gcm.jd b/docs/html/guide/google/gcm/gcm.jd index 04bf01544003a..c0b07b5820941 100644 --- a/docs/html/guide/google/gcm/gcm.jd +++ b/docs/html/guide/google/gcm/gcm.jd @@ -668,8 +668,8 @@ sent. Optional. The default value is false, and must be a JSON bool 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). - category - A string containing the package name of your application. When set, messages will only be sent to registration IDs that match the category. Optional. + restricted_package_name + 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. @@ -707,7 +707,7 @@ sent. Optional. The default value is false, and must be a JSON bool Same as JSON (see previous table). Optional. - category + restricted_package_name Same as JSON (see previous table). Optional. @@ -956,11 +956,11 @@ Happens when the HTTP status code is 500, or when the error field o object in the results array is InternalServerError. -
Invalid Category
+
Invalid Package Name
-A message was addressed to a registration ID whose category did not match the value passed in the request. Happens when error code is -InvalidCategory. +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 +InvalidPackageName.