summaryrefslogtreecommitdiff
path: root/runtime/runtime_test.cc
diff options
context:
space:
mode:
author Andrei Onea <andreionea@google.com> 2019-06-13 12:01:25 +0100
committer Andrei-Valentin Onea <andreionea@google.com> 2019-06-14 10:45:43 +0000
commit9ccea1da7946cb8a5e70d39f8c0c474196fdaca3 (patch)
tree16d1303b6362a45056aeb3739a590f64fad08c84 /runtime/runtime_test.cc
parentc56a23e12039d846a899d8b2ff535019480912e5 (diff)
Fix UnsupportedAppUsage property serialization
The publicAlternatives field of the UnsupportedAppUsage annotation may contain commas, which would interfere with the csv serialization into metadata.csv. This change ensures that all fields containing commas are encased by '|' characters (due to it being used as a quote character in frameworks/base/tools/hiddenapi/merge_csv.py), and all other ocurrences of '|' are escaped. Bug: 130721457 Test: atest AnnotationPropertyWriterTest Change-Id: I5bc0c68b460ea23b9408ecc4c997938d310005fe
Diffstat (limited to 'runtime/runtime_test.cc')
0 files changed, 0 insertions, 0 deletions