commit | 256e39bccf8dab59a8114c50a21f6a4a7fac95f5 | [log] [tgz] |
---|---|---|
author | Jooyung Han <jooyung@google.com> | Fri Dec 17 13:48:38 2021 +0900 |
committer | Jooyung Han <jooyung@google.com> | Mon Dec 20 01:11:05 2021 +0000 |
tree | a0b1ae02d8b74371a8c63bc63591f174e277414d | |
parent | 65281c4d34b26f036eea8a375a5f0c2ea6655c4f [diff] |
Fix rust type for PFD[N] field Since Rust's ParcelFileDescriptor doesn't implement Default, we wrap it with Option<T> when used as a parcelable field. Likewise, we need to wrap it with Option<T> as well when it's used as fixed-size array field. Otherwise, Foo in the following can't implement Default. parcelable Foo { ParcelFileDescriptor[2] pair; } Bug: n/a Test: aidl_unittests Change-Id: I58b122bbba56dcd8d00e5127e5a356d2774dbefa
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview