commit | aeb0167d2c2201e01d39a5c2cc438554e8c1924e | [log] [tgz] |
---|---|---|
author | Jooyung Han <jooyung@google.com> | Tue Nov 30 17:29:22 2021 +0900 |
committer | Jooyung Han <jooyung@google.com> | Tue Nov 30 17:38:06 2021 +0900 |
tree | 5edd483cd39cc19cdd7444ed0eda6267dcb1173c | |
parent | 2ca04f5db43c93a77497e90cd3408c57042cd29f [diff] |
ConstantValueDecorator with strings ConstantValueDecorator now handles array-type values better. Previously, array values are passed to ConstantValueDecorator after joining into a single string, which makes it difficult to handle array values because it should rely on formatting ("{", Join(), "}) and "wrong" type. Now, when the type is an array, raw_value is passed as vector<string>. This is a preparation step for multi-dimensional fixed-size arrays. Nested constant arrays like "{{1,2,3}, {4,5,6}}" will be used as a default value for fixed-size arrays. Bug: 204116012 Bug: 207087196 Test: aidl_unittests Change-Id: I15353816dafcc80b55f1878f6bcc923e21cd12e8
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview