[CHRE API] Update format string in chrePublishRpcServices docs
Bug: 398228215
Change-Id: I0ed155d1aa2ff315cb4eb371aaac3759d8cab7d5
Flag: EXEMPT CHRE change
Test: Presubmits
diff --git a/chre_api/include/chre_api/chre/event.h b/chre_api/include/chre_api/chre/event.h
index 207c691..e9cc30a 100644
--- a/chre_api/include/chre_api/chre/event.h
+++ b/chre_api/include/chre_api/chre/event.h
@@ -1024,10 +1024,11 @@
* struct chreNanoappRpcService to a struct chreMsgEndpointServiceInfo and
* call chreMsgPublishServices() instead. The conversion will be mapped as
* follows:
- * - majorVersion = chreNanoappRpcService.majorVersion
+ * - majorVersion = chreNanoappRpcService.version
* - minorVersion = 0
* - serviceDescriptor = FORMAT_STRING(
- * "chre.nanoapp_0x%016x.service_0x%016x", nanoapp_id, service_id)
+ * "chre.nanoapp_0x%016" PRIX64 ".service_0x%016" PRIX64, nanoapp_id,
+ * service_id)
* - serviceFormat = CHRE_ENDPOINT_SERVICE_FORMAT_PW_RPC_PROTOBUF
*/
bool chrePublishRpcServices(struct chreNanoappRpcService *services,