Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 37a6abe4 authored by Weilin Xu's avatar Weilin Xu Committed by Cherrypicker Worker
Browse files

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
parent 5d9b066c
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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;
}