commit | 911802545ee337ac3781aa00070aaad02cb9b5ae | [log] [tgz] |
---|---|---|
author | Jeongik Cha <jeongik@google.com> | Fri Jul 31 15:43:11 2020 +0900 |
committer | Jeongik Cha <jeongik@google.com> | Thu Aug 06 09:10:38 2020 +0000 |
tree | 8c9d4f77d69dceafd89e3890af6e282e5289a294 | |
parent | 13066da129f9670743c93ef9e9339aadc9e14105 [diff] |
Support builder class for an immutable parcelable As-is: An immutable parcelable's constructor needs every field as arguments. It can break build whenever a field is added To-be: Builder class is provided, so it doesn't break build even though a field is added. And also, it respects a default value if the field is not set. In addition, check the duplicate field name after capitalizing the first letter because of setter name. Test: atest aidl_integration_test aidl_unittests Bug: 161506914 Change-Id: Icf45d67f2c1c66af89d8eb80ea0f71120ced5e0d
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview