diff --git a/docs/html/guide/google/gcm/gcm.jd b/docs/html/guide/google/gcm/gcm.jd index f6fd697a689c3..5d3ea563ca970 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 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. @@ -713,7 +713,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. @@ -962,11 +962,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.