From 74d3ac25fbf35a5adaadc9ecc01999517951bfa2 Mon Sep 17 00:00:00 2001 From: Matt Buckley Date: Mon, 22 Apr 2024 21:35:59 +0000 Subject: [PATCH] Update PowerHAL documentation to clarify Session ID size restriction Test: n/a Bug: 315894228 Change-Id: I69ee157bc79e26578bd13a907662ac8756d7ce47 --- power/aidl/android/hardware/power/SessionConfig.aidl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/power/aidl/android/hardware/power/SessionConfig.aidl b/power/aidl/android/hardware/power/SessionConfig.aidl index 93dc9a278e..ca89183e16 100644 --- a/power/aidl/android/hardware/power/SessionConfig.aidl +++ b/power/aidl/android/hardware/power/SessionConfig.aidl @@ -25,6 +25,9 @@ parcelable SessionConfig { /** * The session's unique ID, used to identify the session for debugging and * for multiplexing on the per-process FMQ channel. + * + * Values that fit in the 32-bit int range value must be provided when using + * the FMQ API, as the FMQ messages can only accept 32-bit Session IDs. */ long id; }