summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Victor Berchet <berchet@google.com> 2023-11-07 07:49:06 -0800
committer Victor Berchet <berchet@google.com> 2023-11-10 01:18:31 -0800
commitde3596a690a852bc5834451016158b9abbc198b5 (patch)
treeb6a720d165f7738c9b36e4d3719ee3c487d0d919
parentc737d35e0d6bc7f09007db6ecf4aecd5d10e690b (diff)
Document CHRE_MESSAGE_TYPE_RPC
Bug: 308734918 Test: CHQTS testRpcServiceTest Change-Id: Ifa38d38d0f1a6b45aef0fba73978870ace88fb68
-rw-r--r--core/java/android/hardware/location/NanoAppMessage.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/hardware/location/NanoAppMessage.java b/core/java/android/hardware/location/NanoAppMessage.java
index bb3e81ad0ec1..7ac1dd14da21 100644
--- a/core/java/android/hardware/location/NanoAppMessage.java
+++ b/core/java/android/hardware/location/NanoAppMessage.java
@@ -56,6 +56,8 @@ public final class NanoAppMessage implements Parcelable {
*
* @param targetNanoAppId the ID of the nanoapp to send the message to
* @param messageType the nanoapp-dependent message type
+ * the value CHRE_MESSAGE_TYPE_RPC (0x7FFFFFF5) is reserved by the
+ * framework for RPC messages
* @param messageBody the byte array message contents
*
* @return the NanoAppMessage object