summaryrefslogtreecommitdiff
path: root/api/api_versions_trimmer.py
AgeCommit message (Collapse)Author
2021-06-22Add lint database filtering toolPedro Loureiro
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