diff options
author | Yi Jin <jinyithu@google.com> | 2017-10-24 12:30:24 -0700 |
---|---|---|
committer | Yi Jin <jinyithu@google.com> | 2017-11-01 18:24:57 -0700 |
commit | be6de3017b2045926424dcbc8b65ce63376963a2 (patch) | |
tree | c4d89ef04122743902ff5b64cc7825cb466c7584 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 6b0ea8ae9334f2aab85fe470690133844dc0e8ee (diff) |
Enable Window Dumpsys Section
Protobuf defines classes, which can have self recursive message
definitions and cause a bug in generating privacy flags.
Solve the problem here. The details is in incident_section_gen/main.cpp.
The logic is a bit complicated to address more than one level of self
recursion proto message definition.
Also solve a bug when PrivacyBuffer strips fields.
Modify PRIVACY_POLICY_LIST to be type Privacy** in order to allow
initialization by a method.
Bug: 68162512
Test: unit tested and on device tests
Change-Id: I1d0b79f6813e5fd66c4cf5823d0fa17efc57bb1d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions