commit | 742d33ba556f2dfb0c4c8a7a420b862320de9a61 | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Thu Sep 09 11:24:04 2021 +0900 |
committer | Jiyong Park <jiyong@google.com> | Thu Sep 09 10:04:37 2021 +0000 |
tree | af40977abcf4a7135093dc4114546fe1b4bc0b74 | |
parent | ffa72f65930bec6705e1be84c6208920bdb35646 [diff] |
Don't format string literals in annotation Previously, @anno(arg="a = 1 || b = 2") was incorrectly formatted into @anno(arg="a = 1 || b=2"). This CL fixes that by not formating double-quoted string values. Bug: 199268674 Test: $ cat | ./aidl-format.sh interface Foo { @anno(arg="a = 1 || b = 2") void foo();} ^D interface Foo { @anno(arg="a = 1 || b = 2") void foo(); } Change-Id: I7365bfc6e400c8f0726bbea660d13d2b1ffbc867
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview