mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 05:49:27 +00:00
Clarify unsigned int type in AIDL program id
Clarified that the value in ProgramIdentifier in AIDL broadcast radio HAL should be unsigned 64-bit int, but is represented as signed int since unsigned int types are not supported in AIDL. Bug: 299489486 Test: m -j (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:40a58baa2cf0380dcab908a6f1e3cf8fd11d351c) Merged-In: I2f35cefebdf1b5e39bf48cab896b077c4cb6c2e4 Change-Id: I2f35cefebdf1b5e39bf48cab896b077c4cb6c2e4
This commit is contained in:
committed by
Cherrypicker Worker
parent
5d9b066c04
commit
37a6abe4c6
@@ -30,8 +30,10 @@ parcelable ProgramIdentifier {
|
||||
IdentifierType type = IdentifierType.INVALID;
|
||||
|
||||
/**
|
||||
* The uint64_t value field holds the value in format described in comments
|
||||
* for IdentifierType enum.
|
||||
* The value field holds the value in format described in comments for IdentifierType enum.
|
||||
*
|
||||
* The value should be 64-bit unsigned integer, but is represented as 64-bit signed integer
|
||||
* in AIDL.
|
||||
*/
|
||||
long value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user