summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorPedro Loureiro <pedroql@google.com>2021-05-26 15:50:07 +0000
committerPedro Loureiro <pedroql@google.com>2021-06-22 10:24:22 +0000
commitb91f45d6f488f87b8e5345427a992978973b5e27 (patch)
tree3f9bb8aa2cf13b35f5bfba036a19be6686d5cb22 /tools/aapt2/diff/Diff.cpp
parentf3dd83dbae7ffdae71f0e9bdb3012c4cc3a0b06e (diff)
Add lint database filtering tool
lint database file (api-versions.xml) is used for NewApi checks. These checks were written thinking about app developers. When used inside the platform codebase, quite often it produces false positives which make relying on it cumbersome. This CL removes APIs introduced by mainline modules from the lint database to remove many such false positives. While some of them might be real issues, the alternative would be not turning these checks on at all. Bug: 186478867 Bug: 177434707 Test: m lint-check Test: m filter-api-versions Test: atest api_versions_trimmer_unittests Change-Id: Ic45db0b71a2f13dc456463ce04b2f7744a0e330c
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions