diff options
author | Eugene Susla <eugenesusla@google.com> | 2020-11-03 18:24:06 -0800 |
---|---|---|
committer | Eugene Susla <eugenesusla@google.com> | 2020-11-04 12:40:58 -0800 |
commit | ddb26814559a0c1e01593f29b180b501ea48e5f6 (patch) | |
tree | e8892bbb16293d1d67f21d7c931f38a291b7775c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6ef0203cd46024a12e5ab8c83861396fbc35ad08 (diff) |
Disregard annotation params for stale dataclass detection
Annotation processor seens annotation args with constants already inlined,
making it challenging to compare to the souce-generated metadata that contains
initial expressions.
For now just ignoring args for all non-DataClass annotations to prevent false positives
Test: . frameworks/base/tests/Codegen/runTest.sh
Exempt-From-Owner-Approval: changing metadata on multiple files
Change-Id: I640816ae0f20f36b1b828bc2161f53788c4a4dae
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions