Skip to content
  • Pedro Loureiro's avatar
    dea35e10
    Add lint database filtering tool · dea35e10
    Pedro Loureiro authored
    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
    Merged-In: Ic45db0b71a2f13dc456463ce04b2f7744a0e330c
    Change-Id: Ic45db0b71a2f13dc456463ce04b2f7744a0e330c
    dea35e10
    Add lint database filtering tool
    Pedro Loureiro authored
    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
    Merged-In: Ic45db0b71a2f13dc456463ce04b2f7744a0e330c
    Change-Id: Ic45db0b71a2f13dc456463ce04b2f7744a0e330c
Loading