android_packages_modules_Co.../staticlibs/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Patrick Rohr 62d51d1bcd Introduce LegacyStruct to expose writeToBytes(ByteOrder)
The ByteOrder should be encoded by the field, not by the writeToBytes()
method. To fix this, a LegacyStruct is introduced which continues to
expose writeToBytes(ByteOrder) during the transition. This approach
helpfully creates a compile error when converting a Struct class back to
inheriting from Struct for all call sites of writeToBytes(ByteOrder).

Test: TH
Flag: EXEMPT mainline
Change-Id: I3b28c53ce3e884e59760744838b3518596de5c75
2025-07-28 15:58:48 -07:00
..
unit Introduce LegacyStruct to expose writeToBytes(ByteOrder) 2025-07-28 15:58:48 -07:00